[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <681ff9c4-e4d2-0c5e-9eec-e83d0b7b8494@samsung.com>
Date: Thu, 20 May 2021 12:23:46 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Marek Szyprowski <m.szyprowski@...sung.com>,
linux-kernel@...r.kernel.org
Cc: MyungJoo Ham <myungjoo.ham@...sung.com>
Subject: Re: [PATCH] extcon: max8997: Add missing modalias string
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@...sung.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@...sung.com>");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:max8997-muic");
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Powered by blists - more mailing lists