forked from Minki/linux
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>
This commit is contained in:
parent
3d4c0d4ffb
commit
8b5d6b0a43
@ -53,7 +53,7 @@ int dwc3_host_init(struct dwc3 *dwc)
|
|||||||
struct platform_device *xhci;
|
struct platform_device *xhci;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
xhci = platform_device_alloc("xhci", -1);
|
xhci = platform_device_alloc("xhci-hcd", -1);
|
||||||
if (!xhci) {
|
if (!xhci) {
|
||||||
dev_err(dwc->dev, "couldn't allocate xHCI device\n");
|
dev_err(dwc->dev, "couldn't allocate xHCI device\n");
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
|
Loading…
Reference in New Issue
Block a user