aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorBruno Thomsen <[email protected]>2019-08-27 16:36:56 +0200
committerAlexandre Belloni <[email protected]>2019-08-27 18:24:15 +0200
commit28abbba36a5a9f35bfaa75bf8ee0ebf2fe40b9e3 (patch)
treebbbb8e4579f523e72e94d0525d55cfdb394b1544 /lib/test_overflow.c
parent03623b4b041cde396641399c343f52ce840d349d (diff)
rtc: pcf2127: bugfix: watchdog build dependency
Disable watchdog registation when kernel is build without watchdog functionality, and enable watchdog core otherwise. This removes compile errors like the one below: drivers/rtc/rtc-pcf2127.o: in function `pcf2127_probe.constprop.3': rtc-pcf2127.c:(.text.unlikely+0x2c8): undefined reference to `devm_watchdog_register_device' Watchdog feature in chip will always be configured as this is safe to do in both cases and minimize code churn. Reported-by: Hulk Robot <[email protected]> Reported-by: YueHaibing <[email protected]> Fixes: bbc597561ce1 ("rtc: pcf2127: add watchdog feature support") Signed-off-by: Bruno Thomsen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions