Re: [PATCH 2/2] usb: dwc3: host: align on host device name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe,

Your patches on top of Andiry's ring expansion patches seem pretty
stable.  I'm going to send them off to Greg, except for this last patch,
that you said you wanted to carry yourself.

Sarah Sharp

On Tue, Mar 13, 2012 at 04:57:42PM +0200, Felipe Balbi wrote:
> PCI uses xhci-hcd, so let's use the same device
> name to avoid confusion.
> 
> Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> ---
>  drivers/usb/dwc3/host.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
> index 7cfe211..b108d18 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;
> -- 
> 1.7.9.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux