ARM: dove: fix missing __init section of dove_mpp_gpio_mode
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 1 Jul 2013 14:56:12 +0000 (16:56 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 25 Jul 2013 15:22:17 +0000 (15:22 +0000)
commit2746a7c272a3242f919fa2fd5a5f2d9f8a41173a
tree6bca9fed958a8c3d758f8663fa3a9d48cf59a9aa
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
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>
arch/arm/mach-dove/mpp.c