summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-05-09 18:08:12 +0200
committerBryan Wu <cooloney@kernel.org>2008-05-09 18:08:12 +0200
commite4f7c0bf1f2e8a1b184a33ab60e874391d70f86c (patch)
treea75176d888b55ced6b9166e790c114f045f40095 /arch/blackfin
parent[Blackfin] arch: protect linux/usb/isp1362.h include until the driver gets ma... (diff)
downloadlinux-e4f7c0bf1f2e8a1b184a33ab60e874391d70f86c.tar.xz
linux-e4f7c0bf1f2e8a1b184a33ab60e874391d70f86c.zip
[Blackfin] arch: protect linux/usb/musb.h include until the driver gets mainlined
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 40504eeadec9..3b74f96d3590 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -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>