Skip to content

Commit 99077ad

Browse files
nullr0utedtor
authored andcommitted
Input: rk805-pwrkey - fix module autoloading
Add the module alias so the rk805-pwrkey driver will autoload when built as a module. Fixes: 5a35b85 ("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]>
1 parent 425fe47 commit 99077ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/misc/rk805-pwrkey.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ static struct platform_driver rk805_pwrkey_driver = {
9898
};
9999
module_platform_driver(rk805_pwrkey_driver);
100100

101+
MODULE_ALIAS("platform:rk805-pwrkey");
101102
MODULE_AUTHOR("Joseph Chen <[email protected]>");
102103
MODULE_DESCRIPTION("RK805 PMIC Power Key driver");
103104
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)