浏览代码

usb: phy: msm: enable build on other architectures

By adding COMPILE_TEST to the list of dependencies
we can build test this driver on all other architectures
which is very valuable for maintainers applying patches
and to find silly mistakes during development.

Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Felipe Balbi 11 年之前
父节点
当前提交
1f7fc40876
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/phy/Kconfig

+ 1 - 1
drivers/usb/phy/Kconfig

@@ -172,7 +172,7 @@ config USB_ISP1301
 
 
 config USB_MSM_OTG
 config USB_MSM_OTG
 	tristate "Qualcomm on-chip USB OTG controller support"
 	tristate "Qualcomm on-chip USB OTG controller support"
-	depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM)
+	depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST)
 	select USB_PHY
 	select USB_PHY
 	help
 	help
 	  Enable this to support the USB OTG transceiver on Qualcomm chips. It
 	  Enable this to support the USB OTG transceiver on Qualcomm chips. It