diff options
author | H Hartley Sweeten | 2014-03-08 01:31:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-03-17 21:55:56 +0100 |
commit | 2f1f7ea0c5a8171583b93f880d4b988d83658a76 (patch) | |
tree | 49ad6a172c01e0ef060d9363d9ee80b8d407fdcf /drivers/staging/comedi/Kconfig | |
parent | staging: comedi: pcl816: use cfc_handle_events() (diff) | |
download | kernel-qcow2-linux-2f1f7ea0c5a8171583b93f880d4b988d83658a76.tar.gz kernel-qcow2-linux-2f1f7ea0c5a8171583b93f880d4b988d83658a76.tar.xz kernel-qcow2-linux-2f1f7ea0c5a8171583b93f880d4b988d83658a76.zip |
staging: comedi: pcl818: 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_PCL818 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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index df7010b26d65..2fb0cc042dd5 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -199,6 +199,7 @@ config COMEDI_PCL816 config COMEDI_PCL818 tristate "Advantech PCL-718 and PCL-818 ISA card support" depends on VIRT_TO_BUS && ISA_DMA_API + select COMEDI_FC ---help--- Enable support for Advantech PCL-818 ISA cards PCL-818L, PCL-818H, PCL-818HD, PCL-818HG, PCL-818 and PCL-718 |