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>
This commit is contained in:
parent
f9b4639e04
commit
b5e102cdcf
@ -774,7 +774,7 @@ static int twl4030_remove(struct i2c_client *client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* NOTE: this driver only handles a single twl4030/tps659x0 chip */
|
/* 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)
|
twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
|
Loading…
Reference in New Issue
Block a user