input: misc: rk805-pwrkey: Fix module autoloading
Subsystems (2)
PATCH 1/1 input: misc: rk805-pwrkey: Fix module autoloading
Add the module alias so the rk805-pwrkey driver will autoload when built as a module.
Fixes 5a35b85c2d92 ("Input: add power key driver for Rockchip RK805 PMIC")
Signed-off-by Peter Robinson <[email protected]>
--- drivers/input/misc/rk805-pwrkey.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/misc/rk805-pwrkey.c +1 -0
@@ -98,6 +98,7 @@ static struct platform_driver rk805_pwrkey_driver = { };module_platform_driver (rk805_pwrkey_driver); +MODULE_ALIAS ("platform:rk805-pwrkey" );MODULE_AUTHOR ("Joseph Chen <[email protected]>" );MODULE_DESCRIPTION ("RK805 PMIC Power Key driver" );MODULE_LICENSE ("GPL" );
Signature · 1 line
2.36.1
Hello Peter,
Quoted 6 lines · Peter Robinson
Add the module alias so the rk805-pwrkey driver will autoload when built as a module.
Fixes 5a35b85c2d92 ("Input: add power key driver for Rockchip RK805 PMIC")Signed-off-by Peter Robinson <[email protected]>---
Patch looks good to me.
Reviewed-by Javier Martinez Canillas <[email protected]>
Signature · 5 lines
Best regards, Javier Martinez Canillas Linux Engineering Red Hat
Hi,
Any chance someone could review and pick this up please?
Peter
Quoted 25 lines · Peter Robinson
Add the module alias so the rk805-pwrkey driver will autoload when built as a module.
Fixes 5a35b85c2d92 ("Input: add power key driver for Rockchip RK805 PMIC")Signed-off-by Peter Robinson <[email protected]>--- drivers/input/misc/rk805-pwrkey.c | 1 + 1 file changed, 1 insertion(+)drivers/input/misc/rk805-pwrkey.c +1
-1@@ -98,6 +98,7 @@ static struct platform_driver rk805_pwrkey_driver = { };module_platform_driver (rk805_pwrkey_driver); +MODULE_ALIAS ("platform:rk805-pwrkey" );MODULE_AUTHOR ("Joseph Chen <[email protected]>" );MODULE_DESCRIPTION ("RK805 PMIC Power Key driver" );MODULE_LICENSE ("GPL" ); --2.36.1
Quoted 5 lines · Peter Robinson
Add the module alias so the rk805-pwrkey driver will autoload when built as a module.
Fixes 5a35b85c2d92 ("Input: add power key driver for Rockchip RK805 PMIC")Signed-off-by Peter Robinson <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry