opnsense-src/sys/arm
Zhenlei Huang 497f577f46 kernel: Make some compile time constant variables const
Those variables are not going to be changed at runtime. Make them const
to avoid potential overwriting. This will also help spotting accidental
global variables shadowing, since the variable's name such as `version`
is short and commonly used.

This change was inspired by reviewing khng's work D44760.

No functional change intended.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45227

(cherry picked from commit 356be1348d)
2024-09-20 18:04:02 +08:00
..
allwinner intrng: Remove irq_root_ipicount and corresponding intr_pic_claim_root arg 2024-09-07 00:52:47 +01:00
altera/socfpga sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
annapurna/alpine sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
arm kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
broadcom/bcm2835 intrng: Allow alternative IPI PICs to be registered and used 2024-09-07 00:59:02 +01:00
conf arm: Set NEW_PCIB in DEFAULTS rather than a subset of kernel configs 2024-09-07 01:00:56 +01:00
freescale arm: Remove stray references to dev/sound/chip.h 2024-05-17 21:30:36 +02:00
include intrng: Extract arm/arm64 IPI->PIC glue code 2024-09-07 00:58:28 +01:00
mv arm/mpic: remove empty pic_init_secondary() hook 2024-09-07 00:52:27 +01:00
nvidia arm: Convert drivers to use device_set_desc(f)() 2024-06-09 09:37:45 -04:00
qemu sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
qualcomm sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rockchip sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
ti intrng: Remove irq_root_ipicount and corresponding intr_pic_claim_root arg 2024-09-07 00:52:47 +01:00
xilinx sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00