]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mpc8xxx: remove __initdata annotation for mpc8xxx_gpio_ids[]
authorKevin Hao <haokexin@gmail.com>
Thu, 12 Feb 2015 06:52:49 +0000 (14:52 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Mar 2015 09:51:35 +0000 (10:51 +0100)
commitd116b0720f41b6a5c54d92983df0fac685dd8fec
tree52b552802b6bec1d565c685f580af34e13d5d108
parent2e43d41fdf5d9bb7497bcfbed64b6a1a7c85de82
gpio: mpc8xxx: remove __initdata annotation for mpc8xxx_gpio_ids[]

Since commit c14555ed68d0 ("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 <haokexin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mpc8xxx.c