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,

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>

Greg, I have already sent you my pull request. Can you take this one
patch in patch form or do you want me to put on a separate pull request?

> ---
>  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
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux