Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firmware: meson_sm: Mark chip struct as static const

No need to be a global struct.

Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>

authored by

Carlo Caione and committed by
Kevin Hilman
beb91681 54ecb8f7

+1 -1
+1 -1
drivers/firmware/meson/meson_sm.c
··· 35 35 struct meson_sm_cmd cmd[]; 36 36 }; 37 37 38 - struct meson_sm_chip gxbb_chip = { 38 + static const struct meson_sm_chip gxbb_chip = { 39 39 .shmem_size = SZ_4K, 40 40 .cmd_shmem_in_base = 0x82000020, 41 41 .cmd_shmem_out_base = 0x82000021,