summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Caione <ccaione@baylibre.com>2019-07-31 09:23:36 +0100
committerKevin Hilman <khilman@baylibre.com>2019-10-03 08:43:33 -0700
commitbeb91681a20abd8db7cfc177cb621864ce4e7967 (patch)
treebe2eccaa399e33f98f98f2a4ee1c710d6ae66b7a
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlinux-beb91681a20abd8db7cfc177cb621864ce4e7967.tar.bz2
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>
-rw-r--r--drivers/firmware/meson/meson_sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/meson/meson_sm.c b/drivers/firmware/meson/meson_sm.c
index 8d908a8e0d20..772ca6726e7b 100644
--- a/drivers/firmware/meson/meson_sm.c
+++ b/drivers/firmware/meson/meson_sm.c
@@ -35,7 +35,7 @@ struct meson_sm_chip {
struct meson_sm_cmd cmd[];
};
-struct meson_sm_chip gxbb_chip = {
+static const struct meson_sm_chip gxbb_chip = {
.shmem_size = SZ_4K,
.cmd_shmem_in_base = 0x82000020,
.cmd_shmem_out_base = 0x82000021,