diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-04-29 00:29:11 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-06 15:49:24 +0300 |
commit | 438d8cafe4828bfaf9ffd8e939e50ea6941501e5 (patch) | |
tree | d48331d7ce8194802f9463a39ceab8090707df20 /drivers/watchdog/ebc-c384_wdt.c | |
parent | 65fce35f73d2066b6e31e0ccdb07f9cc5a1a1374 (diff) | |
download | linux-438d8cafe4828bfaf9ffd8e939e50ea6941501e5.tar.xz |
watchdog: iTCO: fix link error
When the MFD driver is a loadable module, the watchdog driver fails
to get linked into the kernel:
drivers/watchdog/iTCO_wdt.o: In function `update_no_reboot_bit_pmc':
iTCO_wdt.c:(.text+0x54f): undefined reference to `intel_pmc_gcr_update'
The code is written to support operation without the MFD driver, so
add a Kconfig dependency that allows this, while disallowing the watchdog
to be built-in when the MFD driver is a module.
Fixes: 25f1ca31e230 ("platform/x86: intel_pmc_ipc: Convert to MFD")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/watchdog/ebc-c384_wdt.c')
0 files changed, 0 insertions, 0 deletions