mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 08:21:27 +01:00
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:
parent
91b9659273
commit
4ea93faceb
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.probe = xhci_brcm_probe,
|
||||
|
||||
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.of_match = xhci_usb_ids,
|
||||
|
||||
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.of_match = xhci_usb_ids,
|
||||
|
||||
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.of_match = xhci_mtk_ids,
|
||||
|
||||
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.of_match = xhci_usb_ids,
|
||||
|
||||
@ -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",
|
||||
.id = UCLASS_USB,
|
||||
.probe = xhci_rcar_probe,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user