mfd: ricoh583: fix sectionmismatch for ricoh583_i2c_probe
Peter De Schrijver [Thu, 19 Jul 2012 12:48:35 +0000 (15:48 +0300)]
ricoh583_i2c_probe calls various functions in the __devinit section. Hence
as a probe function there is no problem to also make it part of that section.

Change-Id: I520f28b72cbae4426eade6a177cd99dfc5f02cd0
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117055
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

drivers/mfd/ricoh583.c

index a29053e..159750a 100644 (file)
@@ -1088,7 +1088,7 @@ static void __init ricoh583_debuginit(struct ricoh583 *tpsi)
 }
 #endif
 
-static int ricoh583_i2c_probe(struct i2c_client *i2c,
+static int __devinit ricoh583_i2c_probe(struct i2c_client *i2c,
                              const struct i2c_device_id *id)
 {
        struct ricoh583 *ricoh583;