From: Alexander Kurz on
On Wed, 19 May 2010, Randy Dunlap wrote:
> linux-next of 2010-0519:
> when CONFIG_PCI is not enabled:
>
> drivers/staging/comedi/drivers/mite.c: In function 'mite_init':
> drivers/staging/comedi/drivers/mite.c:89: error: implicit declaration of function 'pci_dev_get'
> drivers/staging/comedi/drivers/mite.c:89: warning: assignment makes pointer from integer without a cast
> make[5]: *** [drivers/staging/comedi/drivers/mite.o] Error 1

thanks, this patch is a follow-up to
> [PATCH] staging/comedi: fixing 8255 and DAS08 Kconfig dependancies.

From 9804b6bc8c997433411b24f477417f8e7cc9a19d Mon Sep 17 00:00:00 2001
From: Alexander Kurz <linux(a)kbdbabel.org>
Date: Wed, 19 May 2010 22:23:00 +0200
Subject: [PATCH 2/2] staging/comedi: fixing ni_tio to mite PCI dependancy

Signed-off-by: Alexander Kurz <linux(a)kbdbabel.org>
---
drivers/staging/comedi/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index ebc68ee..0aa2b0d 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1258,8 +1258,8 @@ config COMEDI_MITE

config COMEDI_NI_TIO
tristate "NI general purpose counter support"
+ depends on COMEDI_MITE
select COMEDI_8255
- select COMEDI_MITE
default N
---help---
Enable support for National Instruments general purpose counters.
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/