]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[Blackfin] arch: protect linux/usb/musb.h include until the driver gets mainlined
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 9 May 2008 16:08:12 +0000 (00:08 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 9 May 2008 16:08:12 +0000 (00:08 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf548/boards/cm_bf548.c

index 40504eeadec99b4eee1beb0795dd0d52597870d3..3b74f96d3590d04a728bf8970dd2199e2799e8d3 100644 (file)
@@ -36,7 +36,9 @@
 #include <linux/spi/flash.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
+#if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE)
 #include <linux/usb/musb.h>
+#endif
 #include <asm/bfin5xx_spi.h>
 #include <asm/cplb.h>
 #include <asm/dma.h>