Unverified Commit 64b558f5 authored by Pawel Laszczak's avatar Pawel Laszczak Committed by Peter Chen
Browse files

usb: cdns3: Change file names for cdns3 driver.



Patch adds prefix cdns3- to all file names related only to
cdns3 driver.

Signed-off-by: default avatarPawel Laszczak <pawell@cadence.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent 118b2a32
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# define_trace.h needs to know how to find our header
CFLAGS_trace.o					:= -I$(src)
CFLAGS_cdns3-trace.o				:= -I$(src)
CFLAGS_cdnsp-trace.o				:= -I$(src)

cdns-usb-common-y				:= core.o drd.o
@@ -10,10 +10,10 @@ obj-$(CONFIG_USB_CDNS3) += cdns3.o
obj-$(CONFIG_USB_CDNS_SUPPORT)			+= cdns-usb-common.o

cdns-usb-common-$(CONFIG_USB_CDNS_HOST) 	+= host.o
cdns3-$(CONFIG_USB_CDNS3_GADGET)		+= gadget.o ep0.o
cdns3-$(CONFIG_USB_CDNS3_GADGET)		+= cdns3-gadget.o cdns3-ep0.o

ifneq ($(CONFIG_USB_CDNS3_GADGET),)
cdns3-$(CONFIG_TRACING)				+= trace.o
cdns3-$(CONFIG_TRACING)				+= cdns3-trace.o
endif

obj-$(CONFIG_USB_CDNS3_PCI_WRAP)		+= cdns3-pci-wrap.o
+2 −2
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
#include <linux/usb/composite.h>
#include <linux/iopoll.h>

#include "gadget.h"
#include "trace.h"
#include "cdns3-gadget.h"
#include "cdns3-trace.h"

static struct usb_endpoint_descriptor cdns3_gadget_ep0_desc = {
	.bLength = USB_DT_ENDPOINT_SIZE,
+2 −2
Original line number Diff line number Diff line
@@ -63,8 +63,8 @@

#include "core.h"
#include "gadget-export.h"
#include "gadget.h"
#include "trace.h"
#include "cdns3-gadget.h"
#include "cdns3-trace.h"
#include "drd.h"

static int __cdns3_gadget_ep_queue(struct usb_ep *ep,
Loading