* [PATCH -next] counter: ftm-quaddec: Enable module autoloading
@ 2024-09-02 12:20 Liao Chen
2024-09-07 11:20 ` William Breathitt Gray
0 siblings, 1 reply; 2+ messages in thread
From: Liao Chen @ 2024-09-02 12:20 UTC (permalink / raw)
To: linux-iio, linux-kernel; +Cc: patrick.havelange, wbg, liaochen4
Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
drivers/counter/ftm-quaddec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/counter/ftm-quaddec.c b/drivers/counter/ftm-quaddec.c
index 200876f3ec04..6ac4efb5658b 100644
--- a/drivers/counter/ftm-quaddec.c
+++ b/drivers/counter/ftm-quaddec.c
@@ -311,6 +311,7 @@ static const struct of_device_id ftm_quaddec_match[] = {
{ .compatible = "fsl,ftm-quaddec" },
{},
};
+MODULE_DEVICE_TABLE(of, ftm_quaddec_match);
static struct platform_driver ftm_quaddec_driver = {
.driver = {
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] counter: ftm-quaddec: Enable module autoloading
2024-09-02 12:20 [PATCH -next] counter: ftm-quaddec: Enable module autoloading Liao Chen
@ 2024-09-07 11:20 ` William Breathitt Gray
0 siblings, 0 replies; 2+ messages in thread
From: William Breathitt Gray @ 2024-09-07 11:20 UTC (permalink / raw)
To: linux-iio, linux-kernel, Liao Chen
Cc: William Breathitt Gray, patrick.havelange
On Mon, 02 Sep 2024 12:20:14 +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
> on the alias from of_device_id table.
>
>
Applied, thanks!
[1/1] counter: ftm-quaddec: Enable module autoloading
commit: 0d0f611bdf8e1d06df7ecb44b424a6fb093e2efc
Best regards,
--
William Breathitt Gray <wbg@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-07 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 12:20 [PATCH -next] counter: ftm-quaddec: Enable module autoloading Liao Chen
2024-09-07 11:20 ` William Breathitt Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®