Commit b5e102cd authored by Daniel J Blueman's avatar Daniel J Blueman Committed by Mark Brown

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: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f9b4639e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment