diff options
author | Javier Carrasco <[email protected]> | 2024-09-25 17:42:43 +0200 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2024-10-19 17:26:32 +0300 |
commit | 0bcbddb7ef0edb8b4ca994033128e955bb8b1b74 (patch) | |
tree | a1d849714fea06344f2a4baf03ce2b1529268669 | |
parent | 02f686d17c4305a0b5e2a9de749664dfe9c0f63e (diff) |
drm/meson: Constify struct regmap_config
`meson_regmap_config` is not modified and can be declared as const to
move its data to a read-only section.
Signed-off-by: Javier Carrasco <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
-rw-r--r-- | drivers/gpu/drm/meson/meson_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c index bbb662d2f184..7cace75a38af 100644 --- a/drivers/gpu/drm/meson/meson_drv.c +++ b/drivers/gpu/drm/meson/meson_drv.c @@ -128,7 +128,7 @@ static bool meson_vpu_has_available_connectors(struct device *dev) return false; } -static struct regmap_config meson_regmap_config = { +static const struct regmap_config meson_regmap_config = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4, |