From: Rakib Mullick Date: Tue, 17 Feb 2009 08:21:52 +0000 (+0100) Subject: mfd: Fix sm501_register_gpio section mismatch X-Git-Tag: v2.6.29-rc6~85^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd9651ecd652a186dd9ad0dde76d43320b9c0a2;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed