Message ID | 20210819201936.7390-4-sakari.ailus@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
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@linux.intel.com> > Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> > --- > 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
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");
Add modalias for this driver, so that it is loaded automatically once the devices pop up. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> --- drivers/gpio/gpio-tps68470.c | 1 + 1 file changed, 1 insertion(+)