]> err.no Git - linux-2.6/commitdiff
[Blackfin] arch: protect linux/usb/isp1362.h include until the driver gets mainlined
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 9 May 2008 16:06:10 +0000 (00:06 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 9 May 2008 16:06:10 +0000 (00:06 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf533/boards/cm_bf533.c
arch/blackfin/mach-bf537/boards/cm_bf537.c
arch/blackfin/mach-bf561/boards/cm_bf561.c

index 170ab57ef6e7b9fc5d0706ed63751edcb51af76a..ed2b0b8f5dc93f4673accc7013329fa67baaf748 100644 (file)
@@ -33,7 +33,9 @@
 #include <linux/mtd/partitions.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/flash.h>
+#if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
 #include <linux/usb/isp1362.h>
+#endif
 #include <linux/ata_platform.h>
 #include <linux/irq.h>
 #include <asm/dma.h>
index 706e1a574f0998e6d2d920075ab35bc05782edc9..73f2142875e241d5257c92b860179b33b3207050 100644 (file)
@@ -35,7 +35,9 @@
 #include <linux/mtd/partitions.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/flash.h>
+#if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
 #include <linux/usb/isp1362.h>
+#endif
 #include <linux/ata_platform.h>
 #include <linux/irq.h>
 #include <asm/dma.h>
index 4075dafcbc80e755691e7c431c60613d8c561c1e..466ef5929a254d76d62333fc198554d41245cfd7 100644 (file)
@@ -33,7 +33,9 @@
 #include <linux/mtd/partitions.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/flash.h>
+#if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
 #include <linux/usb/isp1362.h>
+#endif
 #include <linux/ata_platform.h>
 #include <linux/irq.h>
 #include <asm/dma.h>