diff mbox

[3/3] usb: phy: msm: enable build on other architectures

Message ID 1398875916-14461-3-git-send-email-balbi@ti.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Felipe Balbi April 30, 2014, 4:38 p.m. UTC
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.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/usb/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ivan T. Ivanov May 3, 2014, 7 a.m. UTC | #1
On Wed, 2014-04-30 at 11:38 -0500, Felipe Balbi wrote:
> 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.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>

> ---
>  drivers/usb/phy/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
> index 0c668a3..fbbced8 100644
> --- a/drivers/usb/phy/Kconfig
> +++ b/drivers/usb/phy/Kconfig
> @@ -172,7 +172,7 @@ config USB_ISP1301
>  
>  config USB_MSM_OTG
>  	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
>  	help
>  	  Enable this to support the USB OTG transceiver on Qualcomm chips. It


--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 0c668a3..fbbced8 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -172,7 +172,7 @@  config USB_ISP1301
 
 config USB_MSM_OTG
 	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
 	help
 	  Enable this to support the USB OTG transceiver on Qualcomm chips. It