mfd: Fix sm501_register_gpio section mismatch
authorRakib Mullick <rakib.mullick@gmail.com>
Tue, 17 Feb 2009 08:21:52 +0000 (09:21 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 17 Feb 2009 08:48:05 +0000 (09:48 +0100)
commitdcd9651ecd652a186dd9ad0dde76d43320b9c0a2
tree5ba1f21643f406f6f8f54d07c83bd83eb294651d
parent158abca5f699a047ff7b67a64ab19e8ec824e37d
mfd: Fix sm501_register_gpio section mismatch

WARNING: drivers/mfd/built-in.o(.text+0x1706): Section mismatch in
reference from the function sm501_register_gpio() to the function
.devinit.text:sm501_gpio_register_chip()
The function sm501_register_gpio() references
the function __devinit sm501_gpio_register_chip().
This is often because sm501_register_gpio lacks a __devinit
annotation or the annotation of sm501_gpio_register_chip is wrong.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/sm501.c