mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
drm/bridge: dpc3433: Constify struct regmap_config
`dlpc_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 <javier.carrasco.cruz@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240925-drm-const-regmap-v1-1-e609d502401b@gmail.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
parent
b8f9f21716
commit
b895a1805e
|
|
@ -94,7 +94,7 @@ static const struct regmap_access_table dlpc_volatile_table = {
|
|||
.n_yes_ranges = ARRAY_SIZE(dlpc_volatile_ranges),
|
||||
};
|
||||
|
||||
static struct regmap_config dlpc_regmap_config = {
|
||||
static const struct regmap_config dlpc_regmap_config = {
|
||||
.reg_bits = 8,
|
||||
.val_bits = 8,
|
||||
.max_register = WR_DSI_PORT_EN,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user