]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
watchdog: sunxi: Fix section mismatch
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 5 Oct 2013 14:20:17 +0000 (16:20 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 13 Oct 2013 18:02:03 +0000 (20:02 +0200)
commit1d5898b4f8a0f6e231546d30dd54f6f9b89c232c
tree39715dd930a0fee1039d46d3edf4af5748457b0a
parent4c4e45669de475573b15d968a6dca8d00124c9ad
watchdog: sunxi: Fix section mismatch

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@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sunxi_wdt.c