watchdog: Make TXX9_WDT select WATCHDOG_CORE
PATCH 1/1 watchdog: Make TXX9_WDT select WATCHDOG_CORE
This is required after converting to watchdog core API.
Fix below build errors:
LD .tmp_vmlinux1drivers/built-in.o: In function `txx9wdt_probe':
txx9wdt.c:(.init.text+0x3530): undefined reference to watchdog_register_device' drivers/built-in.o: In function txx9wdt_remove':
txx9wdt.c:(.exit.text+0x158): undefined reference to `watchdog_unregister_device'
make: *** [.tmp_vmlinux1] Error 1
---
I have this change in my source tree but forgot to add it when generating the patch converting txx9_wdt to watchdog framework.
drivers/watchdog/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/Kconfig +1 -0
@@ -1003,6 +1003,7 @@ config AR7_WDT config TXX9_WDT tristate "Toshiba TXx9 Watchdog Timer" depends on CPU_TX39XX || CPU_TX49XX + select WATCHDOG_CORE help Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
Signature · 1 line
1.7.5.4
Quoted 11 lines · Axel Lin
This is required after converting to watchdog core API.
Fix below build errors:
LD .tmp_vmlinux1drivers/built-in.o: In function `txx9wdt_probe':
txx9wdt.c:(.init.text+0x3530): undefined reference towatchdog_register_device' drivers/built-in.o: In functiontxx9wdt_remove':
txx9wdt.c:(.exit.text+0x158): undefined reference to `watchdog_unregister_device'
make: *** [.tmp_vmlinux1] Error 1Signed-off-by Axel Lin <[email protected]>
Can we simply fold this into the original patch?
Signature · 2 lines
Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Quoted 4 lines
Acked-by Wolfram Sang <[email protected]>Can we simply fold this into the original patch?
Wim already applied the original patch.
I found this build error while compiling with today's linux-next. So I think this need to be a separate patch.
Regards,
Axel
Hi Axel,
Quoted 6 lines
Quoted 3 lines
Acked-by Wolfram Sang <[email protected]>Can we simply fold this into the original patch?
Wim already applied the original patch.
I found this build error while compiling with today's linux-next. So I think this need to be a separate patch.
I folded this into the original patch.
Can you test what is in linux-watchdog-next now?
Thanks,
Wim.