• Arnd Bergmann's avatar
    ARM: mv78xx0: correct addr_map_cfg __initdata annotation · edc9e333
    Arnd Bergmann authored
    The annotation on the addr_map_cfg variable is in the wrong place.
    
    Without this patch, building mv78xx0_defconfig results in:
    
    /home/arnd/linux-arm/arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: initialization from incompatible pointer type [enabled by default]
    /home/arnd/linux-arm/arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: (near initialization for 'addr_map_cfg.win_cfg_base') [enabled by default]
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Cc: Jason Cooper <jason@lakedaemon.net>
    edc9e333
addr-map.c 2.41 KB