aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-freeze-bridge.c
diff options
context:
space:
mode:
authorMoritz Fischer <[email protected]>2017-03-24 00:34:24 +0000
committerGreg Kroah-Hartman <[email protected]>2017-04-08 15:45:28 +0000
commit6b539d274e49a7f4b53e0adc55d19041e3b7a863 (patch)
tree10597f705d0bc357be7678a0e16b77776650c057 /drivers/fpga/altera-freeze-bridge.c
parentcoresight: Fixes coresight DT parse to get correct output port ID. (diff)
downloadkernel-6b539d274e49a7f4b53e0adc55d19041e3b7a863.tar.gz
kernel-6b539d274e49a7f4b53e0adc55d19041e3b7a863.zip
fpga: altera_freeze_bridge: Constify ops
The ops are not changing, make them const. Signed-off-by: Moritz Fischer <[email protected]> Cc: Alan Tull <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Alan Tull <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-freeze-bridge.c')
-rw-r--r--drivers/fpga/altera-freeze-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/altera-freeze-bridge.c b/drivers/fpga/altera-freeze-bridge.c
index 8dcd9fb22cb9..8c1bc7e7ee69 100644
--- a/drivers/fpga/altera-freeze-bridge.c
+++ b/drivers/fpga/altera-freeze-bridge.c
@@ -203,7 +203,7 @@ static int altera_freeze_br_enable_show(struct fpga_bridge *bridge)
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_show = altera_freeze_br_enable_show,
};