Skip to content

Commit

Permalink
mfd: twl4030: fix ELF section mismatch...
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel J Blueman authored and Mark Brown committed Nov 25, 2009
1 parent f9b4639 commit b5e102c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/twl4030-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b5e102c

Please sign in to comment.