diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2021-04-23 22:46:24 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-06-21 11:28:00 +0200 |
commit | dc11fc2991e9efbceef93912b83e333d2835fb19 (patch) | |
tree | 2e3305af65aa006b14d72755d39d0d08a8b9d59b /drivers/extcon/extcon-max8997.c | |
parent | extcon: sm5502: Drop invalid register write in sm5502_reg_data (diff) | |
download | linux-dc11fc2991e9efbceef93912b83e333d2835fb19.tar.xz linux-dc11fc2991e9efbceef93912b83e333d2835fb19.zip |
extcon: max8997: Add missing modalias string
The platform device driver name is "max8997-muic", so advertise it
properly in the modalias string. This fixes automated module loading when
this driver is compiled as a module.
Fixes: b76668ba8a77 ("Extcon: add MAX8997 extcon driver")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index e1408075ef7d..633597a6081a 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c @@ -788,3 +788,4 @@ module_platform_driver(max8997_muic_driver); MODULE_DESCRIPTION("Maxim MAX8997 Extcon driver"); MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:max8997-muic"); |