* [PATCH] extcon: max8997: Add missing modalias string
[not found] <CGME20210423204633eucas1p2f5178b2cb85dc63e780b81deebf0700f@eucas1p2.samsung.com>
@ 2021-04-23 20:46 ` Marek Szyprowski
2021-05-20 3:23 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Marek Szyprowski @ 2021-04-23 20:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Marek Szyprowski, Chanwoo Choi, MyungJoo Ham
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>
---
drivers/extcon/extcon-max8997.c | 1 +
1 file changed, 1 insertion(+)
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");
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: max8997: Add missing modalias string
2021-04-23 20:46 ` [PATCH] extcon: max8997: Add missing modalias string Marek Szyprowski
@ 2021-05-20 3:23 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2021-05-20 3:23 UTC (permalink / raw)
To: Marek Szyprowski, linux-kernel; +Cc: MyungJoo Ham
On 4/24/21 5:46 AM, Marek Szyprowski wrote:
> 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>
> ---
> drivers/extcon/extcon-max8997.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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");
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-20 3:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20210423204633eucas1p2f5178b2cb85dc63e780b81deebf0700f@eucas1p2.samsung.com>
2021-04-23 20:46 ` [PATCH] extcon: max8997: Add missing modalias string Marek Szyprowski
2021-05-20 3:23 ` Chanwoo Choi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.