summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/meson
diff options
context:
space:
mode:
authorCarlo Caione <ccaione@baylibre.com>2019-07-31 10:23:36 +0200
committerKevin Hilman <khilman@baylibre.com>2019-10-03 17:43:33 +0200
commitbeb91681a20abd8db7cfc177cb621864ce4e7967 (patch)
treebe2eccaa399e33f98f98f2a4ee1c710d6ae66b7a /drivers/firmware/meson
parentLinux 5.4-rc1 (diff)
downloadlinux-beb91681a20abd8db7cfc177cb621864ce4e7967.tar.xz
linux-beb91681a20abd8db7cfc177cb621864ce4e7967.zip
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>
Diffstat (limited to 'drivers/firmware/meson')
-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,