From: Daniel J Blueman Date: Wed, 25 Nov 2009 12:12:59 +0000 (+0000) Subject: mfd: twl4030: fix ELF section mismatch... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5e102cdcfb4a5d4349a9628eb5ad11bd65a1f3b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 0ee81e46bfbd..5049d0493025 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;