[U-Boot] [PATCH 2/2] usb: dwc2: Rename to dwc2_usb

Marek Vasut marex at denx.de
Wed Aug 12 22:19:15 CEST 2015


This driver is not used only on exynos, but also on Altera SoCFPGA,
HiSilicon SoCs, RPi etc, so rename it accordingly to prevent confusion.

Signed-off-by: Marek Vasut <marex at denx.de>
---
 drivers/usb/host/dwc2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 7b29134..85236ae 100644
--- a/drivers/usb/host/dwc2.c
+++ b/drivers/usb/host/dwc2.c
@@ -1118,7 +1118,7 @@ static const struct udevice_id dwc2_usb_ids[] = {
 };
 
 U_BOOT_DRIVER(usb_dwc2) = {
-	.name	= "dwc2_exynos",
+	.name	= "dwc2_usb",
 	.id	= UCLASS_USB,
 	.of_match = dwc2_usb_ids,
 	.ofdata_to_platdata = dwc2_usb_ofdata_to_platdata,
-- 
2.1.4



More information about the U-Boot mailing list