[PATCH] wdt: sunxi: Fix section mismatch

Guenter Roeck linux at roeck-us.net
Sat Oct 5 11:38:44 EDT 2013


On 10/05/2013 07:20 AM, Maxime Ripard wrote:
> This driver has a section mismatch, for probe and remove functions,
> leading to the following warning during the compilation.
>
> WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in
> reference from the variable sunxi_wdt_driver to the function
> .init.text:sunxi_wdt_probe()
> The variable sunxi_wdt_driver references
> the function __init sunxi_wdt_probe()
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>





More information about the linux-arm-kernel mailing list