Subject: [PATCH] staging/comedi: fixing ni_labpc to mite dependancy

From: Alexander Kurz <[email-masked]>
Date: Thu, 3 Jun 2010 15:50:24 +0400 (MSD)

Hi,
 the dependancy of ni_labpc on mite was missing,
 it will be fixed with this patch
 thanks for the report,
 Alexander

>>From d310498ef2a61057c3f28b10bb417238f33e8265 Mon Sep 17 00:00:00 2001
From: Alexander Kurz <[email-masked]>
Date: Thu, 3 Jun 2010 12:00:37 +0200
Subject: [PATCH] staging/comedi: fixing ni_labpc to mite dependancy

Signed-off-by: Alexander Kurz <[email-masked]>
---
 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 0aa2b0d..79f5f2e 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1272,6 +1272,7 @@ config COMEDI_NI_TIO
 
 config COMEDI_NI_LABPC
 	tristate "NI Lab-PC and compatibles ISA and PCI support"
+	depends on COMEDI_MITE
 	select COMEDI_8255
 	select COMEDI_FC
 	default N
-- 
1.7.1

On Wed, 2 Jun 2010, Randy Dunlap wrote:
> On Wed, 2 Jun 2010 15:14:39 +1000 Stephen Rothwell wrote:
> > 
> > Changes since 20100601:
> randconfig build ends with:
> 
> ERROR: "mite_list_devices" [drivers/staging/comedi/drivers/ni_labpc.ko] undefined!
> ERROR: "mite_unsetup" [drivers/staging/comedi/drivers/ni_labpc.ko] undefined!
> ERROR: "mite_setup" [drivers/staging/comedi/drivers/ni_labpc.ko] undefined!
> ERROR: "mite_devices" [drivers/staging/comedi/drivers/ni_labpc.ko] undefined!