aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-syscon.c
diff options
context:
space:
mode:
authorKevin Hao <[email protected]>2015-02-12 06:52:49 +0000
committerLinus Walleij <[email protected]>2015-03-05 09:51:35 +0000
commit32c006a99799f6f3c759b77ba761c3a5981e34eb (patch)
tree52b552802b6bec1d565c685f580af34e13d5d108 /drivers/gpio/gpio-syscon.c
parentLinux 4.0-rc2 (diff)
downloadkernel-32c006a99799f6f3c759b77ba761c3a5981e34eb.tar.gz
kernel-32c006a99799f6f3c759b77ba761c3a5981e34eb.zip
gpio: mpc8xxx: remove __initdata annotation for mpc8xxx_gpio_ids[]
Since commit 98686d9a52ee ("gpio: mpc8xxx: Convert to platform device interface"), we get the following section mismatch warning. Remove the __initdata annotation to fix it. WARNING: vmlinux.o(.data+0xbc28): Section mismatch in reference from the variable mpc8xxx_plat_driver to the variable .init.data:mpc8xxx_gpio_ids The variable mpc8xxx_plat_driver references the variable __initdata mpc8xxx_gpio_ids If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Kevin Hao <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-syscon.c')
0 files changed, 0 insertions, 0 deletions