extcon: max8997: Add missing modalias string
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 23 Apr 2021 20:46:24 +0000 (22:46 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Jun 2021 09:28:00 +0000 (18:28 +0900)
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>
drivers/extcon/extcon-max8997.c

index e140807..633597a 100644 (file)
@@ -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");