aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-01 14:23:48 +0200
committerFelipe Balbi <balbi@ti.com>2010-12-10 10:21:09 +0200
commit7c925546427a0428b84bc5ba1f28b3698e492072 (patch)
tree753685c16953aef4d8cdc148c7c2d1f9bd189fb0 /arch/arm/mach-omap2/usb-musb.c
parent7421107b293cace2fc081731306d447ecd8517ab (diff)
usb: musb: add Kconfig options for each glue layer
This will make things simpler when choosing which glue layer to compile. It avoids a lot of magic around the "default" Kconfig option and lets the user choose what exactly s/he wants to compile. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index 8dae0fa5905..ed0e85c3764 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -31,7 +31,7 @@
#include <mach/am35xx.h>
#include <plat/usb.h>
-#ifdef CONFIG_USB_MUSB_SOC
+#if defined(CONFIG_USB_MUSB_OMAP2PLUS) || defined (CONFIG_USB_MUSB_AM35X)
static struct resource musb_resources[] = {
[0] = { /* start and end set dynamically */