projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b964c59
)
[Blackfin] arch: protect linux/usb/musb.h include until the driver gets mainlined
author
Mike Frysinger
<vapier.adi@gmail.com>
Fri, 9 May 2008 16:08:12 +0000
(
00:08
+0800)
committer
Bryan 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
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf548/boards/cm_bf548.c
b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 40504eeadec99b4eee1beb0795dd0d52597870d3..3b74f96d3590d04a728bf8970dd2199e2799e8d3 100644
(file)
--- 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>