浏览代码

mei: fix undefined wd symbols when MEI_ME is not set

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>
Tomas Winkler 13 年之前
父节点
当前提交
b95d788ac7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/misc/mei/Kconfig

+ 1 - 1
drivers/misc/mei/Kconfig

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