diff mbox

usb: renesas_usbhs: fix driver dependencies

Message ID 8246169.KgpDT6Hn5J@amdc1032 (mailing list archive)
State Superseded
Headers show

Commit Message

Bartlomiej Zolnierkiewicz Sept. 1, 2014, 1:14 p.m. UTC
Renesas USBHS controller support should be available only on
Renesas ARM SoCs and SuperH architecture.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
---
 drivers/usb/renesas_usbhs/Kconfig |    1 +
 1 file changed, 1 insertion(+)


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

Comments

Sergei Shtylyov Sept. 1, 2014, 1:22 p.m. UTC | #1
Hello.

On 9/1/2014 5:14 PM, Bartlomiej Zolnierkiewicz wrote:

> Renesas USBHS controller support should be available only on
> Renesas ARM SoCs and SuperH architecture.

> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> ---
>   drivers/usb/renesas_usbhs/Kconfig |    1 +
>   1 file changed, 1 insertion(+)

> Index: b/drivers/usb/renesas_usbhs/Kconfig
> ===================================================================
> --- a/drivers/usb/renesas_usbhs/Kconfig	2014-07-30 14:31:51.883523522 +0200
> +++ b/drivers/usb/renesas_usbhs/Kconfig	2014-09-01 14:25:42.028512490 +0200
> @@ -5,6 +5,7 @@
>   config USB_RENESAS_USBHS
>   	tristate 'Renesas USBHS controller'
>   	depends on USB_GADGET
> +	depends on ARCH_SHMOBILE || ARCH_SH || COMPILE_TEST

    Again, I think you meant SUPERH here, not ARCH_SH.

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" 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

Index: b/drivers/usb/renesas_usbhs/Kconfig
===================================================================
--- a/drivers/usb/renesas_usbhs/Kconfig	2014-07-30 14:31:51.883523522 +0200
+++ b/drivers/usb/renesas_usbhs/Kconfig	2014-09-01 14:25:42.028512490 +0200
@@ -5,6 +5,7 @@ 
 config USB_RENESAS_USBHS
 	tristate 'Renesas USBHS controller'
 	depends on USB_GADGET
+	depends on ARCH_SHMOBILE || ARCH_SH || COMPILE_TEST
 	default n
 	help
 	  Renesas USBHS is a discrete USB host and peripheral controller chip