kernel_samsung_a53x/arch/sparc/kernel
Sam Ravnborg 0671bd6e5a sparc32: Fix section mismatch in leon_pci_grpci
[ Upstream commit 24338a6ae13cb743ced77da1b3a12c83f08a0c96 ]

Passing a datastructre marked _initconst to platform_driver_register()
is wrong. Drop the __initconst notation.

This fixes the following warnings:

WARNING: modpost: vmlinux: section mismatch in reference: grpci1_of_driver+0x30 (section: .data) -> grpci1_of_match (section: .init.rodata)
WARNING: modpost: vmlinux: section mismatch in reference: grpci2_of_driver+0x30 (section: .data) -> grpci2_of_match (section: .init.rodata)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Fixes: 4154bb821f0b ("sparc: leon: grpci1: constify of_device_id")
Fixes: 03949b1cb9f1 ("sparc: leon: grpci2: constify of_device_id")
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:56 +01:00
..
syscalls Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adi_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asm-offsets.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxio_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxio_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btext.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
central.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cherrs.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
compat_audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devices.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ds.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtlb_prot.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ebus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
entry.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
entry.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
etrap_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
etrap_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fpu_traps.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ftrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
getsetcc.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
head_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
head_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
helpers.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvapi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvcalls.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvtramp.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ioport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
itlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ivec.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jump_label.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kernel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kgdb_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kgdb_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kprobes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kstack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ktlb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ldc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_kernel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_pci_grpci1.c sparc32: Fix section mismatch in leon_pci_grpci 2024-11-19 08:44:56 +01:00
leon_pci_grpci2.c sparc32: Fix section mismatch in leon_pci_grpci 2024-11-19 08:44:56 +01:00
leon_pmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
leon_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdesc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misctrap.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
module.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_device_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_fire.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_impl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_msi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_psycho.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sabre.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_schizo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_sun4v_asm.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
prom_irqtrans.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psycho_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psycho_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptrace_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptrace_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reboot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtrap_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtrap_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
signal_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sigutil_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sparc_ksyms.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spiterrs.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stacktrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
starfire.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4d_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4d_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4m_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4m_smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_ivec.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_mcd.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4v_tlb_miss.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sys_sparc_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
syscalls.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
systbls_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trampoline_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trampoline_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
traps_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
traps_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttable_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttable_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
una_asm_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
una_asm_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unaligned_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unaligned_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uprobes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
urtt_fill.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utrap.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vdso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
viohs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
visemul.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmlinux.lds.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
windows.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
winfixup.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wof.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wuf.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00