Searched hist:"6 c41e4748662b47d46331e0e79f3b62b6786d3b9" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/watchdog/ |
H A D | at91sam9_wdt.c | diff 6c41e4748662b47d46331e0e79f3b62b6786d3b9 Fri Jan 25 15:14:27 CET 2013 Arnd Bergmann <arnd@arndb.de> watchdog: at91sam9: at91_wdt_dt_ids cannot be __init
The device IDs are referenced by the driver and potentially used beyond the init time, as kbuild correctly warns about. Remove the __initconst annotation.
Without this patch, building at91_dt_defconfig results in:
WARNING: drivers/watchdog/built-in.o(.data+0x28): Section mismatch in reference from the variable at91wdt_driver to the (unknown reference) .init.rodata:(unknown) The variable at91wdt_driver references the (unknown reference) __initconst (unknown)
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: linux-watchdog@vger.kernel.org
|