summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorH Hartley Sweeten2012-06-20 01:20:05 +0200
committerGreg Kroah-Hartman2012-06-20 21:59:12 +0200
commita3b0eee21be14e1d2b6a7b97c70a94ee76aaf0b3 (patch)
treec068e46164646d0648a4c9e640c3d614841e1354 /drivers/staging/comedi/Kconfig
parentstaging: comedi: shrink comedi_compat32.h (diff)
downloadkernel-qcow2-linux-a3b0eee21be14e1d2b6a7b97c70a94ee76aaf0b3.tar.gz
kernel-qcow2-linux-a3b0eee21be14e1d2b6a7b97c70a94ee76aaf0b3.tar.xz
kernel-qcow2-linux-a3b0eee21be14e1d2b6a7b97c70a94ee76aaf0b3.zip
staging: comedi: Kconfig: fix drivers that require the 8255 driver
Many of the comedi drivers require the 8255 driver for various subdevice support. The Makefile currently uses CONFIG_COMEDI_PCI_DRIVERS to make sure the 8255 driver is compiled. The Kconfig help for that option says that it does not directly affect the kernel. Fix this by adding 'select COMEDI_8255' to the drivers that actually need the support. Also, remove two cases where the drivers don't require the 8255 support. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 2ca7f08bc5b9..03ee2d0e188b 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -672,7 +672,6 @@ config COMEDI_ADDI_APCI_3XXX
config COMEDI_ADL_PCI6208
tristate "ADLink PCI-6208A support"
- select COMEDI_8255
---help---
Enable support for ADLink PCI-6208A cards
@@ -689,6 +688,7 @@ config COMEDI_ADL_PCI7230
config COMEDI_ADL_PCI7296
tristate "ADLink PCI-7296 96 ch. digital io board support"
+ select COMEDI_8255
---help---
Enable support for ADlink PCI-7296 96 ch. digital io board support
@@ -1061,7 +1061,6 @@ config COMEDI_NI_PCIMIO
config COMEDI_RTD520
tristate "Real Time Devices PCI4520/DM7520 support"
- select COMEDI_8255
---help---
Enable support for Real Time Devices PCI4520/DM7520