projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeedc54
)
fpga: altera_freeze_bridge: Constify ops
author
Moritz Fischer
<
[email protected]
>
Fri, 24 Mar 2017 00:34:24 +0000
(19:34 -0500)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 8 Apr 2017 15:45:28 +0000
(17:45 +0200)
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]
>
drivers/fpga/altera-freeze-bridge.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/altera-freeze-bridge.c
b/drivers/fpga/altera-freeze-bridge.c
index 8dcd9fb22cb9713166fbf6d747d05b907aa256ec..8c1bc7e7ee6992b99f229beec56cf4ab29f857a8 100644
(file)
--- 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,
};