aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/host.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-02-03 15:04:46 +0200
committerFelipe Balbi <balbi@ti.com>2012-02-06 11:48:42 +0200
commit8b5d6b0a4353d0e3517947f894be215750d681bb (patch)
treee8f0df114310d9546f368b1263caa85818f40216 /drivers/usb/dwc3/host.c
parentusb: dwc3: debugfs: fix error check (diff)
downloadlinux-dev-8b5d6b0a4353d0e3517947f894be215750d681bb.tar.xz
linux-dev-8b5d6b0a4353d0e3517947f894be215750d681bb.zip
usb: dwc3: host: align on host device name
PCI uses xhci-hcd, so let's use the same device name to avoid confusion. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/host.c')
-rw-r--r--drivers/usb/dwc3/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
index 7cfe211b6c37..b108d18fd40d 100644
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
@@ -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;