mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] m68k: amiga: Mark amiga_model as __initdata
@ 2026-11-07 13:24 Thorsten Blum
  0 siblings, 0 replies; only message in thread
From: Thorsten Blum @ 2026-11-07 13:24 UTC (permalink / raw)
  To: Geert Uytterhoeven, Thorsten Blum; +Cc: linux-m68k, linux-kernel

amiga_model is only accessed by amiga_parse_bootinfo() and
amiga_identify(), both of which are __init functions.

Signed-off-by: Thorsten Blum <blum@kernel.org>
---
 arch/m68k/amiga/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index e2869bb4bf5e..df00f2e33932 100644
--- a/arch/m68k/amiga/config.c
+++ b/arch/m68k/amiga/config.c
@@ -39,7 +39,7 @@
 
 #include "amiga.h"
 
-static unsigned long amiga_model;
+static unsigned long amiga_model __initdata;
 
 unsigned long amiga_eclock;
 EXPORT_SYMBOL(amiga_eclock);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-07 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 13:24 [PATCH] m68k: amiga: Mark amiga_model as __initdata Thorsten Blum

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®