* [PATCH] extcon: max77693: Fix modalias string
[not found] <CGME20201208133637eucas1p2e2264886ce4641171ec72fa4ab962d14@eucas1p2.samsung.com>
@ 2020-12-08 13:36 ` Marek Szyprowski
2020-12-09 2:10 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Marek Szyprowski @ 2020-12-08 13:36 UTC (permalink / raw)
To: linux-kernel
Cc: Marek Szyprowski, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
Chanwoo Choi, MyungJoo Ham
The platform device driver name is "max77693-muic", so advertise it
properly in the modalias string. This fixes automated module loading when
this driver is compiled as a module.
Fixes: db1b9037424b ("extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
drivers/extcon/extcon-max77693.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 4a410fd2ea9a..92af97e00828 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -1277,4 +1277,4 @@ module_platform_driver(max77693_muic_driver);
MODULE_DESCRIPTION("Maxim MAX77693 Extcon driver");
MODULE_AUTHOR("Chanwoo Choi <cw00.choi@samsung.com>");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:extcon-max77693");
+MODULE_ALIAS("platform:max77693-muic");
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: max77693: Fix modalias string
2020-12-08 13:36 ` [PATCH] extcon: max77693: Fix modalias string Marek Szyprowski
@ 2020-12-09 2:10 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2020-12-09 2:10 UTC (permalink / raw)
To: Marek Szyprowski, linux-kernel
Cc: Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, MyungJoo Ham
On 12/8/20 10:36 PM, Marek Szyprowski wrote:
> The platform device driver name is "max77693-muic", so advertise it
> properly in the modalias string. This fixes automated module loading when
> this driver is compiled as a module.
>
> Fixes: db1b9037424b ("extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device")
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> drivers/extcon/extcon-max77693.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
> index 4a410fd2ea9a..92af97e00828 100644
> --- a/drivers/extcon/extcon-max77693.c
> +++ b/drivers/extcon/extcon-max77693.c
> @@ -1277,4 +1277,4 @@ module_platform_driver(max77693_muic_driver);
> MODULE_DESCRIPTION("Maxim MAX77693 Extcon driver");
> MODULE_AUTHOR("Chanwoo Choi <cw00.choi@samsung.com>");
> MODULE_LICENSE("GPL");
> -MODULE_ALIAS("platform:extcon-max77693");
> +MODULE_ALIAS("platform:max77693-muic");
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-09 1:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20201208133637eucas1p2e2264886ce4641171ec72fa4ab962d14@eucas1p2.samsung.com>
2020-12-08 13:36 ` [PATCH] extcon: max77693: Fix modalias string Marek Szyprowski
2020-12-09 2:10 ` 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.