diff options
author | Bryan Wu <bryan.wu@canonical.com> | 2010-12-08 10:42:04 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-10 20:59:59 +0100 |
commit | 3ec93fcb34a97a9806a7280b136a7af20edf61f1 (patch) | |
tree | fba3113cff9cb3aa4b175cf30f72ba050e42f825 /drivers/mfd | |
parent | f41614d70cf873af7f89ccb3d38c3128b9723323 (diff) |
mfd: Fix twl_probe section mismatch warning in mfd/twl-core.c
Fix the following section mismatch warning when building
omap2plus_defconfig:
WARNING: vmlinux.o(.data+0x47d7c): Section mismatch in reference
from the variable twl_driver to the function .init.text:twl_probe()
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 35275ba7096f..3aa46ff8e8d1 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -969,7 +969,7 @@ static int twl_remove(struct i2c_client *client) } /* NOTE: this driver only handles a single twl4030/tps659x0 chip */ -static int __init +static int __devinit twl_probe(struct i2c_client *client, const struct i2c_device_id *id) { int status; |