* [PATCH -next] mfd: max14577: fix module autoloading
@ 2024-08-14 2:57 Liao Chen
2024-08-14 6:06 ` Krzysztof Kozlowski
2024-08-21 16:05 ` (subset) " Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Liao Chen @ 2024-08-14 2:57 UTC (permalink / raw)
To: linux-kernel; +Cc: cw00.choi, krzk, lee
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
drivers/mfd/max14577.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 67bf4de4c0c1..6fce79ec2dc6 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -143,6 +143,7 @@ static const struct of_device_id max14577_dt_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, max14577_dt_match);
static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH -next] mfd: max14577: fix module autoloading
2024-08-14 2:57 [PATCH -next] mfd: max14577: fix module autoloading Liao Chen
@ 2024-08-14 6:06 ` Krzysztof Kozlowski
2024-08-21 16:05 ` (subset) " Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-14 6:06 UTC (permalink / raw)
To: Liao Chen, linux-kernel; +Cc: cw00.choi, lee
On 14/08/2024 04:57, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from of_device_id table.
>
> Signed-off-by: Liao Chen <liaochen4@huawei.com>
> ---
> drivers/mfd/max14577.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: (subset) [PATCH -next] mfd: max14577: fix module autoloading
2024-08-14 2:57 [PATCH -next] mfd: max14577: fix module autoloading Liao Chen
2024-08-14 6:06 ` Krzysztof Kozlowski
@ 2024-08-21 16:05 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2024-08-21 16:05 UTC (permalink / raw)
To: linux-kernel, Liao Chen; +Cc: cw00.choi, krzk, lee
On Wed, 14 Aug 2024 02:57:10 +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from of_device_id table.
>
>
Applied, thanks!
[1/1] mfd: max14577: fix module autoloading
commit: 9b443909657acc0439d1c78dbf98c15d67e2b546
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-21 16:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 2:57 [PATCH -next] mfd: max14577: fix module autoloading Liao Chen
2024-08-14 6:06 ` Krzysztof Kozlowski
2024-08-21 16:05 ` (subset) " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox