[PATCH 5/6] powerpc/embedded6xx: Mark pci_membase as __initdata

From
Thorsten Blum <blum@kernel.org>
Date
2026-11-02 15:31:45
Also in
linux-devicetree, lkml
Reply to
Thorsten Blum, 2026-11-02
pci_membase is only accessed by mvme5100_add_bridge() and
mvme5100_pic_init(), both of which are __init functions.

Signed-off-by: Thorsten Blum <blum@kernel.org>
---
 arch/powerpc/platforms/embedded6xx/mvme5100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/embedded6xx/mvme5100.c b/arch/powerpc/platforms/embedded6xx/mvme5100.c
index f22e10eb0c65..b6b4d0581fa9 100644
--- a/arch/powerpc/platforms/embedded6xx/mvme5100.c
+++ b/arch/powerpc/platforms/embedded6xx/mvme5100.c
@@ -35,7 +35,7 @@
 #define BOARD_EXT_FEATURE1_REG	0xfef880f0
 #define BOARD_EXT_FEATURE2_REG	0xfef88100
 
-static phys_addr_t pci_membase;
+static phys_addr_t pci_membase __initdata;
 static u_char *restart;
 
 static void mvme5100_8259_cascade(struct irq_desc *desc)
Thread (7 messages) 7 messages, 1 author, last reply 8d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help