Skip to contentSkip to conversation

usb: dwc3: am62: Fix name of driver struct

PATCH Applied Thorsten Scherer 3 participants 3 messages Sep 30, 2025 – Oct 1, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: dwc3: am62: Fix name of driver struct

Fixes a3cff6704f83 ("usb: dwc3: add am62 support")
---
 drivers/usb/dwc3/dwc3-am62.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/dwc3/dwc3-am62.c +2 -2
index 27324276f9c5..1266522bd58f 100644
@@ -266,12 +266,12 @@ static const struct of_device_id dwc3_ti_of_match[] = {
 };
 MODULE_DEVICE_TABLE(of, dwc3_ti_of_match);
 
-static struct driver dwc3_of_simple_driver = {
+static struct driver dwc3_ti_driver = {
 	.probe = dwc3_ti_probe,
 	.name = "dwc3-of-simple",
 	.of_compatible = DRV_OF_COMPAT(dwc3_ti_of_match),
 };
-device_platform_driver(dwc3_of_simple_driver);
+device_platform_driver(dwc3_ti_driver);
 
 MODULE_ALIAS("platform:dwc3-am62");
 MODULE_AUTHOR("Aswath Govindraju <[email protected]>");
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Thorsten Scherer
Fixes a3cff6704f83 ("usb: dwc3: add am62 support")

Thanks,
Ahmad

Quoted 23 lines
---
 drivers/usb/dwc3/dwc3-am62.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/dwc3/dwc3-am62.c +2 -2
index 27324276f9c5..1266522bd58f 100644
@@ -266,12 +266,12 @@ static const struct of_device_id dwc3_ti_of_match[] = {
 };
 MODULE_DEVICE_TABLE(of, dwc3_ti_of_match);
 
-static struct driver dwc3_of_simple_driver = {
+static struct driver dwc3_ti_driver = {
 	.probe = dwc3_ti_probe,
 	.name = "dwc3-of-simple",
 	.of_compatible = DRV_OF_COMPAT(dwc3_ti_of_match),
 };
-device_platform_driver(dwc3_of_simple_driver);
+device_platform_driver(dwc3_ti_driver);
 
 MODULE_ALIAS("platform:dwc3-am62");
 MODULE_AUTHOR("Aswath Govindraju <[email protected]>");
Signature · 4 lines
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |