diff options
author | Peter Robinson <[email protected]> | 2022-08-22 16:33:18 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2022-08-22 16:59:49 -0700 |
commit | 99077ad668ddd9b4823cc8ce3f3c7a3fc56f6fd9 (patch) | |
tree | 8de6f1b9dd27a67342b66e629dcf19b988c065b3 | |
parent | 425fe4709c76e35f93f4c0e50240f0b61b2a2e54 (diff) |
Input: 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]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | drivers/input/misc/rk805-pwrkey.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/rk805-pwrkey.c b/drivers/input/misc/rk805-pwrkey.c index 3fb64dbda1a2..76873aa005b4 100644 --- a/drivers/input/misc/rk805-pwrkey.c +++ b/drivers/input/misc/rk805-pwrkey.c @@ -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"); |