diff mbox

MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c

Message ID 1291776124-9570-1-git-send-email-bryan.wu@canonical.com (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Bryan Wu Dec. 8, 2010, 2:42 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index 35275ba..3aa46ff 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;