Re: [RFC 3/3] gpio-tps68470: Add modalias

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

 



On Thu, Aug 19, 2021 at 11:19:36PM +0300, Sakari Ailus wrote:
> Add modalias for this driver, so that it is loaded automatically once the
> devices pop up.

Not sure if it should be a separate patch, nevertheless
Acked-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> ---
>  drivers/gpio/gpio-tps68470.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpio/gpio-tps68470.c b/drivers/gpio/gpio-tps68470.c
> index 0ab88ef241de..8afcd31f4ea3 100644
> --- a/drivers/gpio/gpio-tps68470.c
> +++ b/drivers/gpio/gpio-tps68470.c
> @@ -158,3 +158,4 @@ static struct platform_driver tps68470_gpio_driver = {
>  module_platform_driver(tps68470_gpio_driver);
>  
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:tps68470-gpio");
> -- 
> 2.30.2
> 

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux