The patch titled drivers/leds/leds-lp5521.c: fix section mismatches has been added to the -mm tree. Its filename is drivers-leds-leds-lp5521c-fix-section-mismatches.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/leds/leds-lp5521.c: fix section mismatches From: Ralf Baechle <ralf@xxxxxxxxxxxxxx> WARNING: drivers/leds/leds-lp5521.o(.text+0xf2c): Section mismatch in reference from the function lp5521_probe() to the function .init.text:lp5521_init_led() The function lp5521_probe() references the function __init lp5521_init_led(). This is often because lp5521_probe lacks a __init annotation or the annotation of lp5521_init_led is wrong. Fixing this mismatch triggers one more mismatch, fix that one as well. Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/leds/leds-lp5521.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/leds/leds-lp5521.c~drivers-leds-leds-lp5521c-fix-section-mismatches drivers/leds/leds-lp5521.c --- a/drivers/leds/leds-lp5521.c~drivers-leds-leds-lp5521c-fix-section-mismatches +++ a/drivers/leds/leds-lp5521.c @@ -593,7 +593,7 @@ static void lp5521_unregister_sysfs(stru &lp5521_led_attribute_group); } -static int __init lp5521_init_led(struct lp5521_led *led, +static int __devinit lp5521_init_led(struct lp5521_led *led, struct i2c_client *client, int chan, struct lp5521_platform_data *pdata) { @@ -637,7 +637,7 @@ static int __init lp5521_init_led(struct return 0; } -static int lp5521_probe(struct i2c_client *client, +static int __devinit lp5521_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct lp5521_chip *chip; _ Patches currently in -mm which might be from ralf@xxxxxxxxxxxxxx are drivers-leds-leds-lp5521c-fix-section-mismatches.patch drivers-leds-leds-lp5523c-fix-section-mismatches.patch drivers-misc-ioc4c-fix-section-mismatch-race-condition.patch linux-next.patch mips-exec-remove-redundant-addr_limit-assignment.patch pci-make-the-struct-pci_dev-argument-of-pci_fixup_irqs-const.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html