Re: [PATCH] staging: comedi: Kconfig: COMEDI_NI_AT_A2150 should select COMEDI_FC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-01-03 12:15, Ian Abbott wrote:
The 'ni_at_a2150' module links to `cfc_write_to_buffer` in the
'comedi_fc' module, so selecting 'COMEDI_NI_AT_A2150' in the kernel config
needs to also select 'COMEDI_FC'.

Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx> # 3.6+
---
  drivers/staging/comedi/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 7de2a10..36eec32 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -444,6 +444,7 @@ config COMEDI_ADQ12B

  config COMEDI_NI_AT_A2150
  	tristate "NI AT-A2150 ISA card support"
+	select COMEDI_FC
  	depends on VIRT_TO_BUS
  	---help---
  	  Enable support for National Instruments AT-A2150 cards


Note that this fix is also needed for 3.0 onwards but the above patch only applies cleanly to 3.6 onwards. I'll backport it to the earlier ones once this one has been accepted. The Kconfig section for the earlier ones is similar but has an additional line:

	depends on COMEDI_NI_COMMON

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux