summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-01 13:23:48 +0100
committerFelipe Balbi <balbi@ti.com>2010-12-10 09:21:09 +0100
commit7c925546427a0428b84bc5ba1f28b3698e492072 (patch)
tree753685c16953aef4d8cdc148c7c2d1f9bd189fb0 /arch/arm/mach-omap2/usb-musb.c
parentusb: musb: hold context on musb structure (diff)
downloadlinux-7c925546427a0428b84bc5ba1f28b3698e492072.tar.xz
linux-7c925546427a0428b84bc5ba1f28b3698e492072.zip
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 8dae0fa5905e..ed0e85c3764f 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 */