diff options
| author | Peter Robinson <pbrobinson@gmail.com> | 2022-08-22 16:33:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-08 12:28:05 +0200 |
| commit | 5ba6155d3b2f2d2ba12d961f13ea8987ced18b66 (patch) | |
| tree | e86f5ddc16a7e28d26d79d978ef35f8d5c9c5b32 /drivers | |
| parent | 9766749a30f6f4425e3d61ce287e0e6eb5e90e25 (diff) | |
| download | linux-5ba6155d3b2f2d2ba12d961f13ea8987ced18b66.tar.gz linux-5ba6155d3b2f2d2ba12d961f13ea8987ced18b66.tar.bz2 linux-5ba6155d3b2f2d2ba12d961f13ea8987ced18b66.zip | |
Input: rk805-pwrkey - fix module autoloading
[ Upstream commit 99077ad668ddd9b4823cc8ce3f3c7a3fc56f6fd9 ]
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 <pbrobinson@gmail.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20220612225437.3628788-1-pbrobinson@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
| -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 <chenjh@rock-chips.com>"); MODULE_DESCRIPTION("RK805 PMIC Power Key driver"); MODULE_LICENSE("GPL"); |
