]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
usb: dwc3: host: align on host device name
authorFelipe Balbi <balbi@ti.com>
Fri, 3 Feb 2012 13:04:46 +0000 (15:04 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 09:48:42 +0000 (11:48 +0200)
PCI uses xhci-hcd, so let's use the same device
name to avoid confusion.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/host.c

index 7cfe211b6c37b546dafa8aa09900d8a8f3d99c7a..b108d18fd40d543a25915f8d72ee20cbd3a6fe6c 100644 (file)
@@ -53,7 +53,7 @@ int dwc3_host_init(struct dwc3 *dwc)
        struct platform_device  *xhci;
        int                     ret;
 
-       xhci = platform_device_alloc("xhci", -1);
+       xhci = platform_device_alloc("xhci-hcd", -1);
        if (!xhci) {
                dev_err(dwc->dev, "couldn't allocate xHCI device\n");
                ret = -ENOMEM;