diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-12-06 15:42:59 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-12-30 17:58:24 +0300 |
commit | 9a6c274ac1c4346f5384f2290caeb42dc674c471 (patch) | |
tree | d5284f43f4c849ecaf60092659a9e938f2d04e2e /drivers/watchdog/iTCO_wdt.c | |
parent | da9e3f4e30a53cd420cf1e6961c3b4110f0f21f0 (diff) | |
download | linux-9a6c274ac1c4346f5384f2290caeb42dc674c471.tar.xz |
watchdog: tqmx86_wdt: Fix build error
If TQMX86_WDT is y and WATCHDOG_CORE is m, building fails:
drivers/watchdog/tqmx86_wdt.o: In function `tqmx86_wdt_probe':
tqmx86_wdt.c:(.text+0x46e): undefined reference to `watchdog_init_timeout'
tqmx86_wdt.c:(.text+0x4e0): undefined reference to `devm_watchdog_register_device'
Select WATCHDOG_CORE to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: e3c21e088f89 ("watchdog: tqmx86: Add watchdog driver for the IO controller")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191206124259.25880-1-yuehaibing@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/iTCO_wdt.c')
0 files changed, 0 insertions, 0 deletions