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 7cfe211..b108d18 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;