summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorH Hartley Sweeten2014-03-08 01:31:39 +0100
committerGreg Kroah-Hartman2014-03-17 21:55:56 +0100
commit61c3393f9374ae56108db0f6b60d3bd56780fe80 (patch)
tree01cffc264eaa0231b2c4cb9a11672b3d1e379b9f /drivers/staging/comedi/Kconfig
parentstaging: comedi: pcl812: use cfc_handle_events() (diff)
downloadkernel-qcow2-linux-61c3393f9374ae56108db0f6b60d3bd56780fe80.tar.gz
kernel-qcow2-linux-61c3393f9374ae56108db0f6b60d3bd56780fe80.tar.xz
kernel-qcow2-linux-61c3393f9374ae56108db0f6b60d3bd56780fe80.zip
staging: comedi: pcl816: use cfc_handle_events()
Use the comedi_fc helper function to automatically call the subdevice (*cancel) function when needed and call comedi_event(). Update the Kconfig so that COMEDI_PCL816 selects COMEDI_FC. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 627c67b092b5..df7010b26d65 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -189,6 +189,7 @@ config COMEDI_PCL812
config COMEDI_PCL816
tristate "Advantech PCL-814 and PCL-816 ISA card support"
depends on VIRT_TO_BUS && ISA_DMA_API
+ select COMEDI_FC
---help---
Enable support for Advantech PCL-814 and PCL-816 ISA cards