From: Daniel J Blueman Date: Wed, 25 Nov 2009 12:12:59 +0000 (+0000) Subject: mfd: twl4030: fix ELF section mismatch... X-Git-Tag: accepted/tizen/common/20141203.182822~13107^2~25^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b;p=platform%2Fkernel%2Flinux-arm64.git 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 Acked-by: Samuel Ortiz Signed-off-by: Mark Brown --- diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c index 0ee81e4..5049d04 100644 --- a/drivers/mfd/twl4030-core.c +++ b/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;