diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-01 16:56:12 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-07-25 17:22:17 +0200 |
commit | 2746a7c272a3242f919fa2fd5a5f2d9f8a41173a (patch) | |
tree | 6bca9fed958a8c3d758f8663fa3a9d48cf59a9aa /arch/arm/mach-dove | |
parent | Linux 3.11-rc2 (diff) | |
download | linux-2746a7c272a3242f919fa2fd5a5f2d9f8a41173a.tar.xz linux-2746a7c272a3242f919fa2fd5a5f2d9f8a41173a.zip |
ARM: dove: fix missing __init section of dove_mpp_gpio_mode
Legacy dove_mpp_gpio_mode calls orion_gpio_set_valid which is in
__init section. Offending function is not, so this causes a section
mismatch. To fix the mismatch, also move dove_mpp_gpio_mode to
__init section.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/mpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-dove/mpp.c b/arch/arm/mach-dove/mpp.c index 60bd729a1ba5..8a433a51289c 100644 --- a/arch/arm/mach-dove/mpp.c +++ b/arch/arm/mach-dove/mpp.c @@ -47,7 +47,7 @@ static const struct dove_mpp_grp dove_mpp_grp[] = { /* Enable gpio for a range of pins. mode should be a combination of GPIO_OUTPUT_OK | GPIO_INPUT_OK */ -static void dove_mpp_gpio_mode(int start, int end, int gpio_mode) +static void __init dove_mpp_gpio_mode(int start, int end, int gpio_mode) { int i; |