From: Marek Szyprowski Date: Fri, 23 Apr 2021 20:46:24 +0000 (+0200) Subject: extcon: max8997: Add missing modalias string X-Git-Tag: howlett/maple/20220722_2~2813^2~23^2~6 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dc11fc2991e9efbceef93912b83e333d2835fb19;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Chanwoo Choi --- 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 "); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:max8997-muic");