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

* Re: [PATCH] nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-09-11  8:01 UTC (permalink / raw)
  To: Cosmin Tanislav
  Cc: Srinivas Kandagatla, Magnus Damm, Arnd Bergmann,
	Greg Kroah-Hartman, Yoshihiro Shimoda, linux-renesas-soc,
	linux-kernel

On Wed, 10 Sept 2025 at 19:55, Cosmin Tanislav
<cosmin-gabriel.tanislav.xa@renesas.com> wrote:
> 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>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH] nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Srinivas Kandagatla @ 2025-09-11  8:57 UTC (permalink / raw)
  To: Cosmin Tanislav
  Cc: Srinivas Kandagatla, Geert Uytterhoeven, Magnus Damm,
	Arnd Bergmann, Greg Kroah-Hartman, Yoshihiro Shimoda,
	linux-renesas-soc, linux-kernel



On 9/10/25 6:54 PM, Cosmin Tanislav wrote:
> 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")
Missing Stable tag.

--srini
> 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,


^ 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®