Browse Source

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>
Daniel J Blueman 15 years ago
parent
commit
b5e102cdcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mfd/twl4030-core.c

+ 1 - 1
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;