diff options
| author | Matteo Croce <[email protected]> | 2018-02-19 01:01:05 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2018-02-19 16:43:55 +0000 |
| commit | 7e2e5158e700f2196dff3b68ac07405575e09c22 (patch) | |
| tree | 19bf846ffbbc630d1f0aaa27b0f30fd7d3561ace /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | watchdog: rave-sp: add NVMEM dependency (diff) | |
| download | kernel-7e2e5158e700f2196dff3b68ac07405575e09c22.tar.gz kernel-7e2e5158e700f2196dff3b68ac07405575e09c22.zip | |
watchdog: i6300esb: fix build failure
i6300esb uses fuctions defined in watchdog_core.c, and when
CONFIG_WATCHDOG_CORE is not set we have this build error:
drivers/watchdog/i6300esb.o: In function `esb_remove':
i6300esb.c:(.text+0xcc): undefined reference to `watchdog_unregister_device'
drivers/watchdog/i6300esb.o: In function `esb_probe':
i6300esb.c:(.text+0x2a1): undefined reference to `watchdog_init_timeout'
i6300esb.c:(.text+0x388): undefined reference to `watchdog_register_device'
make: *** [Makefile:1029: vmlinux] Error 1
Fix this by selecting CONFIG_WATCHDOG_CORE when I6300ESB_WDT is set.
Fixes: 7af4ac8772a8f ("watchdog: i6300esb: use the watchdog subsystem")
Signed-off-by: Matteo Croce <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
