mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
@ 2025-09-10 17:54 Cosmin Tanislav
  2025-09-11  8:01 ` Geert Uytterhoeven
  2025-09-11  8:57 ` Srinivas Kandagatla
  0 siblings, 2 replies; 3+ messages in thread
From: Cosmin Tanislav @ 2025-09-10 17:54 UTC (permalink / raw)
  Cc: Srinivas Kandagatla, Geert Uytterhoeven, Magnus Damm,
	Arnd Bergmann, Greg Kroah-Hartman, Yoshihiro Shimoda,
	linux-renesas-soc, linux-kernel, Cosmin Tanislav

The nvmem-rcar-efuse driver can be compiled as a module. Add missing
MODULE_DEVICE_TABLE so it can be matched by modalias and automatically
loaded by udev.

Fixes: 1530b923a514 ("nvmem: Add R-Car E-FUSE driver")
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
---
 drivers/nvmem/rcar-efuse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvmem/rcar-efuse.c b/drivers/nvmem/rcar-efuse.c
index f24bdb9cb5a7..d9a96a1d59c8 100644
--- a/drivers/nvmem/rcar-efuse.c
+++ b/drivers/nvmem/rcar-efuse.c
@@ -127,6 +127,7 @@ static const struct of_device_id rcar_fuse_match[] = {
 	{ .compatible = "renesas,r8a779h0-otp", .data = &rcar_fuse_v4m },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, rcar_fuse_match);
 
 static struct platform_driver rcar_fuse_driver = {
 	.probe = rcar_fuse_probe,
-- 
2.51.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-11  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-10 17:54 [PATCH] nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE Cosmin Tanislav
2025-09-11  8:01 ` Geert Uytterhoeven
2025-09-11  8:57 ` Srinivas Kandagatla

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®