Commit 6b539d27 authored by Moritz Fischer's avatar Moritz Fischer Committed by Greg Kroah-Hartman

fpga: altera_freeze_bridge: Constify ops

The ops are not changing, make them const.
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
Cc: Alan Tull <atull@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-fpga@vger.kernel.org
Acked-by: default avatarAlan Tull <atull@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eeedc542
...@@ -203,7 +203,7 @@ static int altera_freeze_br_enable_show(struct fpga_bridge *bridge) ...@@ -203,7 +203,7 @@ static int altera_freeze_br_enable_show(struct fpga_bridge *bridge)
return priv->enable; return priv->enable;
} }
static struct fpga_bridge_ops altera_freeze_br_br_ops = { static const struct fpga_bridge_ops altera_freeze_br_br_ops = {
.enable_set = altera_freeze_br_enable_set, .enable_set = altera_freeze_br_enable_set,
.enable_show = altera_freeze_br_enable_show, .enable_show = altera_freeze_br_enable_show,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment