MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c
Subsystems (2)
PATCH 1/1 MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c
Fix the following section mismatch warning when building omap2plus_defconfig:
WARNING: vmlinux.o(.data+0x47d7c): Section mismatch in reference from the variable twl_driver to the function .init.text:twl_probe()
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by Paul Walmsley <[email protected]>
--- drivers/mfd/twl-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl-core.c +1 -1
@@ -969,7 +969,7 @@ static int twl_remove(struct i2c_client *client) }/* NOTE: this driver only handles a single twl4030/tps659x0 chip */ -static int __init +static int __devinit twl_probe (struct i2c_client *client,const struct i2c_device_id *id) {int status;
Signature · 1 line
1.7.1
Hi Bryan,
Quoted 4 lines · Bryan Wu
Fix the following section mismatch warning when building
omap2plus_defconfig:WARNING:
vmlinux.o(.data+0x47d7c): Section mismatch in reference from the variabletwl_driverto the function .init.text:twl_probe()
Patch applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/