This patch rescues renesas_usbhs from commit 193ab2a6070039e7ee2b9b9bebea754a7c52fd1b Author: Felipe Balbi <balbi@xxxxxx> Date: Wed Jun 22 17:28:10 2011 +0300 usb: gadget: allow multiple gadgets to be built now that we have the udc class, we can allow multiple gadget controller drivers to be compiled as modules. This will allow for distro-like kernels for embedded devices. CONFIG_USB_RENESAS_USBHS compile renesas_usbhs common code which is used from Host/Gadget. CONFIG_USB_RENESAS_USBHS_UDC compile mod_gadget code. And it had lost USB_GADGET_DUALSPEED Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> --- drivers/usb/Kconfig | 4 ++++ drivers/usb/gadget/Kconfig | 4 +++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 8cd999a..3ebd958 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -166,4 +166,8 @@ source "drivers/usb/gadget/Kconfig" source "drivers/usb/otg/Kconfig" +# drivers/usb/renesas_usbhs/ +config USB_RENESAS_USBHS + bool + endif # USB_SUPPORT diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a253a..0b1c1e4 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -215,9 +215,11 @@ config USB_R8A66597 dynamically linked module called "r8a66597_udc" and force all gadget drivers to also be dynamically linked. -config USB_RENESAS_USBHS +config USB_RENESAS_USBHS_UDC tristate 'Renesas USBHS controller' depends on SUPERH || ARCH_SHMOBILE + select USB_RENESAS_USBHS + select USB_GADGET_DUALSPEED help Renesas USBHS is a discrete USB host and peripheral controller chip that supports both full and high speed USB 2.0 data transfers. -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html