浏览代码

staging: comedi: addi_apci_1564: add addi_watchdog dependency

With commit aed3f9d498b ("staging: comedi: addi_apci_1564:
absorb apci1564_reset()"), the apci 1564 driver has gained
a dependency on the addi watchdog module, which is not reflected
correctly in Kconfig, and that can lead to link errors
when the watchdog is disabled.

This adds an explicit 'select', like it is done in the other
addi apci drivers that need it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Arnd Bergmann 11 年之前
父节点
当前提交
88513624be
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/staging/comedi/Kconfig

+ 1 - 0
drivers/staging/comedi/Kconfig

@@ -651,6 +651,7 @@ config COMEDI_ADDI_APCI_1516
 
 
 config COMEDI_ADDI_APCI_1564
 config COMEDI_ADDI_APCI_1564
 	tristate "ADDI-DATA APCI_1564 support"
 	tristate "ADDI-DATA APCI_1564 support"
+	select COMEDI_ADDI_WATCHDOG
 	---help---
 	---help---
 	  Enable support for ADDI-DATA APCI_1564 cards
 	  Enable support for ADDI-DATA APCI_1564 cards