usb: renesas_usbhs: fix driver dependencies
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 1 Sep 2014 14:24:40 +0000 (16:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:57:22 +0000 (21:57 -0700)
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: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/Kconfig

index 1c4195abc1080295dcd145eb2519cc99b28f3c22..de83b9d0cd5c39449eb71e237ecd2dfa272cdf8c 100644 (file)
@@ -5,6 +5,7 @@
 config USB_RENESAS_USBHS
        tristate 'Renesas USBHS controller'
        depends on USB_GADGET
+       depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
        default n
        help
          Renesas USBHS is a discrete USB host and peripheral controller chip