Skip to content

Commit

Permalink
Input: rk805-pwrkey - fix module autoloading
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nullr0ute authored and dtor committed Aug 22, 2022
1 parent 425fe47 commit 99077ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/misc/rk805-pwrkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

0 comments on commit 99077ad

Please sign in to comment.