kernel: unify the two kmod-usb-mxs-phy packages
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 May 2014 21:13:21 +0000 (21:13 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 May 2014 21:13:21 +0000 (21:13 +0000)
There are two packages with the name kmod-usb-mxs-phy in OpenWrt which
causes warnings on every build.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40663

package/kernel/linux/modules/usb.mk
target/linux/mxs/modules.mk

index f4fecd6f5c51f79c4fdc66292bef462fc0d6b818..37b3eb102a62af5f98cf66ba23c12a2e3ebcdf82 100644 (file)
@@ -1364,7 +1364,7 @@ $(eval $(call KernelPackage,usb-chipidea,1))
 
 define KernelPackage/usb-mxs-phy
   TITLE:=Support for Freescale MXS USB PHY
-  DEPENDS:=@TARGET_imx6
+  DEPENDS:=@TARGET_imx6||TARGET_mxs +TARGET_mxs:kmod-usb-chipidea-imx
   KCONFIG:=CONFIG_USB_MXS_PHY
   FILES:=\
        $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
index cbb870b49db51301e5d694b8fffab765bf0c4b2f..0584a731bd33085043799fe44a5fc9092451e37f 100644 (file)
@@ -49,22 +49,6 @@ endef
 
 $(eval $(call KernelPackage,usb-chipidea-imx,1))
 
-define KernelPackage/usb-mxs-phy
-    TITLE:=Support for Freescale MXS USB PHY controllers
-    DEPENDS:=+kmod-usb-chipidea-imx
-    KCONFIG:= \
-       CONFIG_USB_MXS_PHY
-    FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
-    AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1)
-    $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-mxs-phy/description
-    Kernel support for Freescale MXS USB PHY controllers
-endef
-
-$(eval $(call KernelPackage,usb-mxs-phy,1))
-
 define KernelPackage/sound-soc-mxs
     TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
     KCONFIG:= \