usb: host: xhci: Make U_BOOT_DRIVER entries unique

All instances of the U_BOOT_DRIVER must use a unique name or they will
lead to link time failures due to name space conflicts when both are
present. Most of the XHCI drivers follow pattern of xhci_xxx in their
name, but a few used "usb_xhci". Change these to follow the pattern of
the rest of the XHCI glue drivers.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
This commit is contained in:
Tom Rini 2025-09-26 09:30:33 -06:00 committed by Marek Vasut
parent 91b9659273
commit 4ea93faceb
6 changed files with 6 additions and 6 deletions

View File

@ -85,7 +85,7 @@ static const struct udevice_id xhci_brcm_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_brcm) = {
.name = "xhci_brcm", .name = "xhci_brcm",
.id = UCLASS_USB, .id = UCLASS_USB,
.probe = xhci_brcm_probe, .probe = xhci_brcm_probe,

View File

@ -246,7 +246,7 @@ static const struct udevice_id xhci_usb_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_exynos) = {
.name = "xhci_exynos", .name = "xhci_exynos",
.id = UCLASS_USB, .id = UCLASS_USB,
.of_match = xhci_usb_ids, .of_match = xhci_usb_ids,

View File

@ -61,7 +61,7 @@ static const struct udevice_id xhci_usb_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_generic) = {
.name = "xhci_generic", .name = "xhci_generic",
.id = UCLASS_USB, .id = UCLASS_USB,
.of_match = xhci_usb_ids, .of_match = xhci_usb_ids,

View File

@ -357,7 +357,7 @@ static const struct udevice_id xhci_mtk_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_mtk) = {
.name = "xhci-mtk", .name = "xhci-mtk",
.id = UCLASS_USB, .id = UCLASS_USB,
.of_match = xhci_mtk_ids, .of_match = xhci_mtk_ids,

View File

@ -87,7 +87,7 @@ static const struct udevice_id xhci_usb_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_mvebu) = {
.name = "xhci_mvebu", .name = "xhci_mvebu",
.id = UCLASS_USB, .id = UCLASS_USB,
.of_match = xhci_usb_ids, .of_match = xhci_usb_ids,

View File

@ -149,7 +149,7 @@ static const struct udevice_id xhci_rcar_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(usb_xhci) = { U_BOOT_DRIVER(xhci_rcar) = {
.name = "xhci_rcar", .name = "xhci_rcar",
.id = UCLASS_USB, .id = UCLASS_USB,
.probe = xhci_rcar_probe, .probe = xhci_rcar_probe,