Commit 5d5716eebccaa9b9ab977b7d5a9fae2abb7a8829
1 parent
a4bb9b3636
Exists in
v2017.01-smarct4x
and in
30 other branches
usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h
The driver is actually for the Designware DWC2 controller. This patch renames the global s3c_udc.h header to dwc2_udc.h. The rename is done automatically: $ sed -i "s/s3c_udc\.h/dwc2_udc.h/g" \ `git grep "s3c_udc\.h" | cut -d : -f 1` Signed-off-by: Marek Vasut <marex@denx.de>
Showing 16 changed files with 39 additions and 39 deletions Side-by-side Diff
- board/altera/arria5-socdk/socfpga.c
- board/altera/cyclone5-socdk/socfpga.c
- board/broadcom/bcm28155_ap/bcm28155_ap.c
- board/denx/mcvevk/socfpga.c
- board/ebv/socrates/socfpga.c
- board/samsung/goni/goni.c
- board/samsung/odroid/odroid.c
- board/samsung/trats/trats.c
- board/samsung/trats2/trats2.c
- board/samsung/universal_c210/universal.c
- board/terasic/sockit/socfpga.c
- drivers/usb/gadget/dwc2_udc_otg.c
- drivers/usb/gadget/dwc2_udc_otg_phy.c
- drivers/usb/gadget/dwc2_udc_otg_priv.h
- include/usb/dwc2_udc.h
- include/usb/s3c_udc.h
board/altera/arria5-socdk/socfpga.c
board/altera/cyclone5-socdk/socfpga.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
board/denx/mcvevk/socfpga.c
board/ebv/socrates/socfpga.c
board/samsung/goni/goni.c
board/samsung/odroid/odroid.c
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c
board/samsung/universal_c210/universal.c
board/terasic/sockit/socfpga.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_phy.c
drivers/usb/gadget/dwc2_udc_otg_priv.h
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | #include <linux/usb/gadget.h> |
15 | 15 | #include <linux/list.h> |
16 | 16 | #include <usb/lin_gadget_compat.h> |
17 | -#include <usb/s3c_udc.h> | |
17 | +#include <usb/dwc2_udc.h> | |
18 | 18 | |
19 | 19 | /*-------------------------------------------------------------------------*/ |
20 | 20 | /* DMA bounce buffer size, 16K is enough even for mass storage */ |
include/usb/dwc2_udc.h
1 | +/* | |
2 | + * drivers/usb/gadget/dwc2_udc.h | |
3 | + * Designware DWC2 on-chip full/high speed USB device controllers | |
4 | + * Copyright (C) 2005 for Samsung Electronics | |
5 | + * | |
6 | + * SPDX-License-Identifier: GPL-2.0+ | |
7 | + */ | |
8 | + | |
9 | +#ifndef __DWC2_USB_GADGET | |
10 | +#define __DWC2_USB_GADGET | |
11 | + | |
12 | +#define PHY0_SLEEP (1 << 5) | |
13 | + | |
14 | +struct dwc2_plat_otg_data { | |
15 | + int (*phy_control)(int on); | |
16 | + unsigned int regs_phy; | |
17 | + unsigned int regs_otg; | |
18 | + unsigned int usb_phy_ctrl; | |
19 | + unsigned int usb_flags; | |
20 | + unsigned int usb_gusbcfg; | |
21 | +}; | |
22 | + | |
23 | +int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata); | |
24 | + | |
25 | +#endif /* __DWC2_USB_GADGET */ |
include/usb/s3c_udc.h
1 | -/* | |
2 | - * drivers/usb/gadget/s3c_udc.h | |
3 | - * Designware DWC2 on-chip full/high speed USB device controllers | |
4 | - * Copyright (C) 2005 for Samsung Electronics | |
5 | - * | |
6 | - * SPDX-License-Identifier: GPL-2.0+ | |
7 | - */ | |
8 | - | |
9 | -#ifndef __S3C_USB_GADGET | |
10 | -#define __S3C_USB_GADGET | |
11 | - | |
12 | -#define PHY0_SLEEP (1 << 5) | |
13 | - | |
14 | -struct dwc2_plat_otg_data { | |
15 | - int (*phy_control)(int on); | |
16 | - unsigned int regs_phy; | |
17 | - unsigned int regs_otg; | |
18 | - unsigned int usb_phy_ctrl; | |
19 | - unsigned int usb_flags; | |
20 | - unsigned int usb_gusbcfg; | |
21 | -}; | |
22 | - | |
23 | -int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata); | |
24 | - | |
25 | -#endif |