Browse Source

MUSB: fix DaVinci glue layer dependency

CONFIG_ARCH_DAVINCI now embraces both the "real" DaVinci and DA8xx/OMAP-L1x --
on which the DaVinci glue layer won't work. Change the Makefile dependency to
CONFIG_ARCH_DAVINCI_DMx which corresponds to "real" DaVinci.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sergei Shtylyov 15 years ago
parent
commit
c6a39eec9d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      drivers/usb/musb/Kconfig
  2. 1 1
      drivers/usb/musb/Makefile

+ 1 - 1
drivers/usb/musb/Kconfig

@@ -42,7 +42,7 @@ config USB_MUSB_SOC
 	default y if (BF52x && !BF522 && !BF523)
 	default y if (BF52x && !BF522 && !BF523)
 
 
 comment "DaVinci 35x and 644x USB support"
 comment "DaVinci 35x and 644x USB support"
-	depends on USB_MUSB_HDRC && ARCH_DAVINCI
+	depends on USB_MUSB_HDRC && ARCH_DAVINCI_DMx
 
 
 comment "OMAP 243x high speed USB support"
 comment "OMAP 243x high speed USB support"
 	depends on USB_MUSB_HDRC && ARCH_OMAP2430
 	depends on USB_MUSB_HDRC && ARCH_OMAP2430

+ 1 - 1
drivers/usb/musb/Makefile

@@ -6,7 +6,7 @@ musb_hdrc-objs := musb_core.o
 
 
 obj-$(CONFIG_USB_MUSB_HDRC)	+= musb_hdrc.o
 obj-$(CONFIG_USB_MUSB_HDRC)	+= musb_hdrc.o
 
 
-ifeq ($(CONFIG_ARCH_DAVINCI),y)
+ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y)
 	musb_hdrc-objs	+= davinci.o
 	musb_hdrc-objs	+= davinci.o
 endif
 endif