summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-12-20 18:35:55 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-09 00:37:45 +0100
commit8ad1a973f9a9aad8e170419581a8e98a0f8d1e19 (patch)
tree01fecb257f931e4b50df66fb39b970388a10b589 /drivers/mfd/stmpe.c
parentdba61c8f4fd14c4cbf375f6cdc814da87722d825 (diff)
downloadlinux-8ad1a973f9a9aad8e170419581a8e98a0f8d1e19.tar.bz2
mfd: Fix stmpe section mismatch
This fixes: WARNING: drivers/built-in.o(.text+0xf368f): Section mismatch in reference from the function stmpe_probe() to the function .devinit.text:stmpe_chip_init() The function stmpe_probe() references the function __devinit stmpe_chip_init(). Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/stmpe.c')
-rw-r--r--drivers/mfd/stmpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
index f99bc2be34ee..e07947e56b2a 100644
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -958,7 +958,7 @@ static int __devinit stmpe_devices_init(struct stmpe *stmpe)
}
/* Called from client specific probe routines */
-int stmpe_probe(struct stmpe_client_info *ci, int partnum)
+int __devinit stmpe_probe(struct stmpe_client_info *ci, int partnum)
{
struct stmpe_platform_data *pdata = dev_get_platdata(ci->dev);
struct stmpe *stmpe;