]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: usb: Rename the sunxi usb driver DM entry
authorMarek Vasut <marex@denx.de>
Mon, 30 Nov 2015 17:15:33 +0000 (18:15 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 6 Dec 2015 23:14:59 +0000 (00:14 +0100)
The DM entry should be unique, otherwise it will collide with other
drivers. Fix this by assigning the driver a more unique name than
usb_ehci.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-sunxi.c

index 38d5f92ad0fd8b86d99839a881ba8c7d758d6086..d494ca10bb1c7d8b9c42e896e114301b4be67d7f 100644 (file)
@@ -87,7 +87,7 @@ static const struct udevice_id ehci_usb_ids[] = {
        { }
 };
 
-U_BOOT_DRIVER(usb_ehci) = {
+U_BOOT_DRIVER(ehci_sunxi) = {
        .name   = "ehci_sunxi",
        .id     = UCLASS_USB,
        .of_match = ehci_usb_ids,