summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel.blueman@gmail.com>2009-11-25 13:12:59 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-25 15:23:19 +0100
commitb5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b (patch)
tree70a9212dfa1ff3c41a1e9a0afcc2c0b550ac82e3 /drivers
parentMFD: twl4030-codec: APLL_INFREQ handling in the MFD driver (diff)
downloadlinux-b5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b.tar.xz
linux-b5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b.zip
mfd: twl4030: fix ELF section mismatch...
Since twl4030_probe is only called from functions in the init ELF section, annotate it so. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/twl4030-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
index 0ee81e46bfbd..5049d0493025 100644
--- a/drivers/mfd/twl4030-core.c
+++ b/drivers/mfd/twl4030-core.c
@@ -774,7 +774,7 @@ static int twl4030_remove(struct i2c_client *client)
}
/* NOTE: this driver only handles a single twl4030/tps659x0 chip */
-static int
+static int __init
twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id)
{
int status;