diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-08 11:59:34 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-01-11 22:48:05 +0100 |
commit | ac36856fe4321454b6789c019c96c3ec854094ed (patch) | |
tree | b8598e014620e579b949f38b312f50ac1d950f64 /arch | |
parent | 0254e953537c92df3e7d0176f401a211e944fd61 (diff) | |
download | op-kernel-dev-ac36856fe4321454b6789c019c96c3ec854094ed.zip op-kernel-dev-ac36856fe4321454b6789c019c96c3ec854094ed.tar.gz |
watchdog: asm9260: remove __init and __exit annotations
The probe and release functions in this driver are marked
as __init and __exit, but this is wrong as indicated by this
Kbuild error message:
WARNING: vmlinux.o(.data+0x1d2308): Section mismatch in reference from the variable asm9260_wdt_driver to the function .init.text:asm9260_wdt_probe()
This removes the annotations, to make the sysfs unbind attribute
and deferred probing work.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: aae03dc98177 ("watchdog: add Alphascale asm9260-wdt driver")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions