Re: [PATCH 1/1] usb: host: ehci-fsl: Use DRV_NAME

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

 



On Mon, Jan 23, 2023 at 11:00:07AM +0100, Alexander Stein wrote:
> "fsl-ehci" is used for both MODULE_ALIAS and driver name. As they have to
> match use DRV_NAME in both locations.
> 
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> ---

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

>  drivers/usb/host/ehci-fsl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
> index 38d06e5abfbb3..d74fa5ba845b8 100644
> --- a/drivers/usb/host/ehci-fsl.c
> +++ b/drivers/usb/host/ehci-fsl.c
> @@ -712,7 +712,7 @@ static struct platform_driver ehci_fsl_driver = {
>  	.remove = fsl_ehci_drv_remove,
>  	.shutdown = usb_hcd_platform_shutdown,
>  	.driver = {
> -		.name = "fsl-ehci",
> +		.name = DRV_NAME,
>  		.pm = EHCI_FSL_PM_OPS,
>  	},
>  };
> -- 
> 2.34.1
> 



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

  Powered by Linux