diff options
author | Carlo Caione <ccaione@baylibre.com> | 2019-07-31 09:23:36 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-10-03 08:43:33 -0700 |
commit | beb91681a20abd8db7cfc177cb621864ce4e7967 (patch) | |
tree | be2eccaa399e33f98f98f2a4ee1c710d6ae66b7a /drivers/firmware | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/meson/meson_sm.c | 2 |
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, |