Skip to contentSkip to conversation

staging: comedi: addi_apci_1564: add addi_watchdog dependency

PATCH In review Arnd Bergmann 2 participants 2 messages Jun 3, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc H Hartley Sweeten <[email protected]>
Cc Ian Abbott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
drivers/staging/comedi/Kconfig +1 -0
index 5d56428..a2f6957 100644
@@ -651,6 +651,7 @@ config COMEDI_ADDI_APCI_1516
 
 config COMEDI_ADDI_APCI_1564
 	tristate "ADDI-DATA APCI_1564 support"
+	select COMEDI_ADDI_WATCHDOG
 	---help---
 	  Enable support for ADDI-DATA APCI_1564 cards
 
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Arnd Bergmann

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.

Quoted 7 lines

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

Cc H Hartley Sweeten <[email protected]>
Cc Ian Abbott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-