[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1368396039-9249-1-git-send-email-peterhuewe@gmx.de>
Date: Mon, 13 May 2013 00:00:39 +0200
From: Peter Huewe <peterhuewe@....de>
To: Ian Abbott <abbotti@....co.uk>
Cc: Mori Hess <fmhess@...rs.sourceforge.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
H Hartley Sweeten <hsweeten@...ionengravers.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Peter Huewe <peterhuewe@....de>
Subject: [PATCH] staging/comedi: Add VIRT_TO_BUS dependency to 'fix' build failure
If the platform does not provide virt_to_bus the ni_labpc.c driver fails to
compile.
In order not to break these builds we have to add a depends on
CONFIG_VIRT_TO_BUS to the affected drivers.
Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Signed-off-by: Peter Huewe <peterhuewe@....de>
---
drivers/staging/comedi/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 7871579..76ccb90 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1024,6 +1024,7 @@ config COMEDI_NI_LABPC_PCI
tristate "NI Lab-PC PCI-1200 support"
select COMEDI_NI_LABPC
select COMEDI_MITE
+ depends on VIRT_TO_BUS
---help---
Enable support for National Instruments Lab-PC PCI-1200.
@@ -1151,6 +1152,7 @@ config COMEDI_NI_DAQ_DIO24_CS
config COMEDI_NI_LABPC_CS
tristate "NI DAQCard-1200 PCMCIA support"
select COMEDI_NI_LABPC
+ depends on VIRT_TO_BUS
---help---
Enable support for the National Instruments PCMCIA DAQCard-1200
@@ -1267,6 +1269,7 @@ config COMEDI_NI_LABPC
tristate
select COMEDI_8255
select COMEDI_FC
+ depends on VIRT_TO_BUS
config COMEDI_NI_TIO
tristate
--
1.8.1.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists