]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice
authorChase Southwood <chase.southwood@gmail.com>
Sat, 12 Jul 2014 22:44:09 +0000 (17:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:19:34 +0000 (13:19 -0700)
commitc7a40108bb0b1c52bdf1931e219e13c1cfcd0e1e
treedef6c17857eda3ae30320681a9be7d501af237d6
parentad04a370f7036b96a54c4ba26b8b956a6a0836d6
staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice

Use the addi_watchdog module to provide support for the watchdog
subdevice.

Also, rearrange the subdevice init blocks so that the order makes sense.
Digital input/output subdevices and subdevices for DI/DO interrupt
support, followed by timer/counter/watchdog subdevices is the new order.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1564.c