Skip to content

Commit

Permalink
firmware: meson_sm: Mark chip struct as static const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlo Caione authored and Kevin Hilman committed Oct 3, 2019
1 parent 54ecb8f commit beb9168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/meson/meson_sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit beb9168

Please sign in to comment.