mei: fix compilation error with missing WATCHDOG_CORE
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 10 Feb 2014 12:33:53 +0000 (14:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 18:13:46 +0000 (10:13 -0800)
Kconfig is not transitive so INTEL_ME_TXE has to depend
on WATCHDOG_CORE as well

ERROR: "watchdog_unregister_device" [drivers/misc/mei/mei.ko] undefined!
ERROR: "watchdog_register_device" [drivers/misc/mei/mei.ko] undefined!

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/Kconfig

index 588167913422ac4a55e42c8feca8008770dfdd2a..d23384dde73b97e3abf7ee166c1a13ef3fb83249 100644 (file)
@@ -37,7 +37,7 @@ config INTEL_MEI_ME
 config INTEL_MEI_TXE
        tristate "Intel Trusted Execution Environment with ME Interface"
        select INTEL_MEI
-       depends on X86 && PCI
+       depends on X86 && PCI && WATCHDOG_CORE
        help
          MEI Support for Trusted Execution Environment device on Intel SoCs