From: Dinh Nguyen <[email protected]> Diffs from V2: - Renamed s3c-hsotg.c to gadget.c - For dynamically linked modules, dwc2_gadget.ko is built for peripheral mode and for host mode, it remains dwc2.ko and dwc2_platform.ko or dwc2_pci.ko. - Split out the patch to have 4 patches instead of 3. Patch 4 contains edits to the Makefile(s) and Kconfig(s) only. - Addressed comments from Felipe Balbi.
I don't think I can add the Tested-by: Jingoo Han <[email protected]> to this version as I have made changes on how the peripheral mode driver gets built. So Jingoo, if you can please test this version, it would be appreciated. Thanks, Dinh Nguyen (4): usb: dwc2: Add defines to support the s3c-hsotg driver usb: s3c-hsotg: Move s3c-hsotg into dwc2 folder usb: s3c-hsotg: Move s3c-hsotg data structures usb: dwc2: Edit the Kconfig and Makefile to build dwc2_gadget driver drivers/usb/dwc2/Kconfig | 36 +- drivers/usb/dwc2/Makefile | 27 +- drivers/usb/dwc2/core.h | 182 +++++++ drivers/usb/{gadget/s3c-hsotg.c => dwc2/gadget.c} | 593 +++++++-------------- drivers/usb/dwc2/hw.h | 12 +- drivers/usb/gadget/Kconfig | 7 - drivers/usb/gadget/Makefile | 1 - drivers/usb/gadget/s3c-hsotg.h | 378 ------------- 8 files changed, 439 insertions(+), 797 deletions(-) rename drivers/usb/{gadget/s3c-hsotg.c => dwc2/gadget.c} (85%) delete mode 100644 drivers/usb/gadget/s3c-hsotg.h --- Cc: Greg Kroah-Hartman <[email protected]> Cc: Paul Zimmerman <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: Ben Dooks <[email protected]> Cc: Matt Porter <[email protected]> Cc: Kukjin Kim <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Matthijs Kooijman <[email protected]> Cc: Jingoo Han <[email protected]> Cc: Sachin Kamat <[email protected]> Cc: Robert Baldyga <[email protected]> -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
