fpga: altera_freeze_bridge: Constify ops

The ops are not changing, make them const.

Signed-off-by: Moritz Fischer <mdf@kernel.org>
Cc: Alan Tull <atull@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-fpga@vger.kernel.org
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Moritz Fischer 2017-03-23 19:34:24 -05:00 committed by Greg Kroah-Hartman
parent eeedc5421d
commit 6b539d274e
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}; };