diff options
author | Daniel J Blueman <daniel.blueman@gmail.com> | 2009-11-25 07:12:59 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-11-25 09:23:19 -0500 |
commit | b5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b (patch) | |
tree | 70a9212dfa1ff3c41a1e9a0afcc2c0b550ac82e3 | |
parent | f9b4639e045c750e2bad37462476403995508350 (diff) |
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>
-rw-r--r-- | drivers/mfd/twl4030-core.c | 2 |
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) | |||
774 | } | 774 | } |
775 | 775 | ||
776 | /* NOTE: this driver only handles a single twl4030/tps659x0 chip */ | 776 | /* NOTE: this driver only handles a single twl4030/tps659x0 chip */ |
777 | static int | 777 | static int __init |
778 | twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id) | 778 | twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id) |
779 | { | 779 | { |
780 | int status; | 780 | int status; |