]> 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)
commit10e4857f0d5158ad9d9b5db8c2a871e7402e25f3
treec72704e6abeed8f3a4b0b9a7f8a4b9b170016362
parentd8c5b6c90ecf42ecb0da1c3736de51415de43419
staging: comedi: addi_apci_1564: add addi_watchdog dependency

With commit fc628b0a2a0 ("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