]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_1564: add addi_watchdog dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 Jun 2014 10:29:29 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 22:11:22 +0000 (15:11 -0700)
commit51ab656cb32b51b57f0c38a0e2e884e252c6f835
treec72704e6abeed8f3a4b0b9a7f8a4b9b170016362
parent49d7661a3cb94e5b63b1cf0a55ebd0edcbd5e357
staging: comedi: addi_apci_1564: add addi_watchdog dependency

With commit d4b28ba20aa ("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>
drivers/staging/comedi/Kconfig