mei: fix undefined wd symbols when MEI_ME is not set
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 7 Feb 2013 20:27:18 +0000 (22:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2013 22:00:25 +0000 (14:00 -0800)
Currently watchdog client is compiled with MEI and not
with MEI_ME

Fixes error:
When CONFIG_WATCHDOG is not enabled:

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

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/Kconfig

index fa5c24982c88f860cfd70cc8dd46d846bdd318a4..d21b4d006a5519c7a658558a115b8044d5c7b2d0 100644 (file)
@@ -1,6 +1,6 @@
 config INTEL_MEI
        tristate "Intel Management Engine Interface"
-       depends on X86 && PCI
+       depends on X86 && PCI && WATCHDOG_CORE
        help
          The Intel Management Engine (Intel ME) provides Manageability,
          Security and Media services for system containing Intel chipsets.