mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
usb: s3c-otg: Rename struct s3c_plat_otg_data
The driver is actually for the Designware DWC2 controller. This patch is the first to rename global symbol, the struct s3c_plat_otg_data. The rename is done automatically: $ sed -i "s/s3c_plat_otg_data/dwc2_plat_otg_data/g" \ `git grep s3c_plat_otg_data | cut -d : -f 1` Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#define PHY0_SLEEP (1 << 5)
|
||||
|
||||
struct s3c_plat_otg_data {
|
||||
struct dwc2_plat_otg_data {
|
||||
int (*phy_control)(int on);
|
||||
unsigned int regs_phy;
|
||||
unsigned int regs_otg;
|
||||
@@ -20,6 +20,6 @@ struct s3c_plat_otg_data {
|
||||
unsigned int usb_gusbcfg;
|
||||
};
|
||||
|
||||
int s3c_udc_probe(struct s3c_plat_otg_data *pdata);
|
||||
int s3c_udc_probe(struct dwc2_plat_otg_data *pdata);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user