]> Git Repo - linux.git/commitdiff
Input: rk805-pwrkey - fix module autoloading
authorPeter Robinson <[email protected]>
Mon, 22 Aug 2022 23:33:18 +0000 (16:33 -0700)
committerDmitry Torokhov <[email protected]>
Mon, 22 Aug 2022 23:59:49 +0000 (16:59 -0700)
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]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/misc/rk805-pwrkey.c

index 3fb64dbda1a2189117a8ef6605b9602195feff57..76873aa005b419b0c1644b9eee7f886c389cabd7 100644 (file)
@@ -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");
This page took 0.06115 seconds and 4 git commands to generate.