]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mfd: Fix stmpe section mismatch
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Dec 2011 17:35:55 +0000 (18:35 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jan 2012 23:37:45 +0000 (00:37 +0100)
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>
drivers/mfd/stmpe.c

index f99bc2be34ee82c002b07418b5de3173c060796e..e07947e56b2a0e2bd68d5aa7da434ae6aa5ed878 100644 (file)
@@ -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;