summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-04-23 22:46:24 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2021-06-21 18:28:00 +0900
commitdc11fc2991e9efbceef93912b83e333d2835fb19 (patch)
tree2e3305af65aa006b14d72755d39d0d08a8b9d59b
parentd25b224f8e5507879b36a769a6d1324cf163466c (diff)
downloadlinux-dc11fc2991e9efbceef93912b83e333d2835fb19.tar.gz
linux-dc11fc2991e9efbceef93912b83e333d2835fb19.tar.bz2
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>
-rw-r--r--drivers/extcon/extcon-max8997.c1
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");