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@xxxxxxxxxxxxxx> Signed-off-by: Peter Huewe <peterhuewe@xxxxxx> --- 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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel