[usb]: make musb available for omap as well
authorImre Kaloz <kaloz@openwrt.org>
Sun, 9 Feb 2014 13:36:10 +0000 (13:36 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sun, 9 Feb 2014 13:36:10 +0000 (13:36 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39546

package/kernel/linux/modules/usb.mk

index 04b7bbbe56a3314a5ffc867d85d8cdeedb5a7168..8d1cee15da513c4b1b203d76091942c9ba471db7 100644 (file)
@@ -43,7 +43,7 @@ define KernelPackage/musb-hdrc
        CONFIG_MUSB_PIO_ONLY=n \
        CONFIG_USB_MUSB_DUAL_ROLE=y \
        CONFIG_USB_MUSB_DEBUG=y
-  DEPENDS:=@TARGET_omap24xx
+  DEPENDS:=@(TARGET_omap||TARGET_omap24xx)
   FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
   AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
   $(call AddDepends/usb)
@@ -61,7 +61,7 @@ define KernelPackage/nop-usb-xceiv
   TITLE:=Support for USB OTG NOP transceiver
   KCONFIG:= \
        CONFIG_NOP_USB_XCEIV
-  DEPENDS:=@TARGET_omap24xx
+  DEPENDS:=+kmod-musb-hdrc
   FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
   AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv)
   $(call AddDepends/usb)