usb: gadget: udc: Rename amd5536udc driver file based on IP
authorRaviteja Garimella <raviteja.garimella@broadcom.com>
Wed, 10 May 2017 12:51:17 +0000 (18:21 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Jun 2017 10:21:01 +0000 (13:21 +0300)
This patch renames the amd5536udc.c that has the core driver
functionality of Synopsys UDC to snps_udc_core.c

The symbols exported here can be used by any UDC driver that uses
the same Synopsys IP.

Signed-off-by: Raviteja Garimella <raviteja.garimella@broadcom.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/Makefile
drivers/usb/gadget/udc/snps_udc_core.c [moved from drivers/usb/gadget/udc/amd5536udc.c with 100% similarity]

index 626e1f1..4f4fd62 100644 (file)
@@ -10,7 +10,7 @@ obj-$(CONFIG_USB_GADGET)      += udc-core.o
 obj-$(CONFIG_USB_DUMMY_HCD)    += dummy_hcd.o
 obj-$(CONFIG_USB_NET2272)      += net2272.o
 obj-$(CONFIG_USB_NET2280)      += net2280.o
-obj-$(CONFIG_USB_SNP_CORE)     += amd5536udc.o
+obj-$(CONFIG_USB_SNP_CORE)     += snps_udc_core.o
 obj-$(CONFIG_USB_AMD5536UDC)   += amd5536udc_pci.o
 obj-$(CONFIG_USB_PXA25X)       += pxa25x_udc.o
 obj-$(CONFIG_USB_PXA27X)       += pxa27x_udc.o