diff options
author | H Hartley Sweeten | 2014-03-08 01:31:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-03-17 21:55:53 +0100 |
commit | a1b5b0bfcd9c050f505a1ab6b33c0c0bc1747ab4 (patch) | |
tree | 5cc036a8a88771107a7f5544b787aba31c46e89f /drivers/staging/comedi/Kconfig | |
parent | staging: comedi: comedi_fc: tidy up cfc_bytes_per_scan() (diff) | |
download | kernel-qcow2-linux-a1b5b0bfcd9c050f505a1ab6b33c0c0bc1747ab4.tar.gz kernel-qcow2-linux-a1b5b0bfcd9c050f505a1ab6b33c0c0bc1747ab4.tar.xz kernel-qcow2-linux-a1b5b0bfcd9c050f505a1ab6b33c0c0bc1747ab4.zip |
staging: comedi: comedi_fc: export cfc_bytes_per_scan()
This helper function is a bit long to be inlined. Move it to the
source file and export it.
The mite driver is the only external user right now. Update the
Kconfig to select COMEDI_FC when COMEDI_MITE is enabled.
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 89e25b4203ad..b89b1454a283 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -1101,6 +1101,7 @@ config COMEDI_S626 config COMEDI_MITE depends on HAS_DMA + select COMEDI_FC tristate config COMEDI_NI_TIOCMD |