diff options
author | Bhumika Goyal <[email protected]> | 2017-09-21 09:52:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-10-04 10:36:40 +0200 |
commit | d8d9d936464a9b61c0e6cb1ff7c831a9cbd2f228 (patch) | |
tree | f1a447b5b773f7d25a03e22bd106785451d1de3a /drivers/fpga/xilinx-pr-decoupler.c | |
parent | ed50a0890eaa8b4468097644b11a61a5f313860c (diff) |
fpga: make xlnx_pr_decoupler_br_ops const
Make this const as it is only passed to a const argument of the function
fpga_bridge_register.
Signed-off-by: Bhumika Goyal <[email protected]>
Acked-by: Michal Simek <[email protected]>
Acked-by: Moritz Fischer <[email protected]>
Signed-off-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
-rw-r--r-- | drivers/fpga/xilinx-pr-decoupler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/xilinx-pr-decoupler.c b/drivers/fpga/xilinx-pr-decoupler.c index e359930bebc8..0d7743089414 100644 --- a/drivers/fpga/xilinx-pr-decoupler.c +++ b/drivers/fpga/xilinx-pr-decoupler.c @@ -79,7 +79,7 @@ static int xlnx_pr_decoupler_enable_show(struct fpga_bridge *bridge) return !status; } -static struct fpga_bridge_ops xlnx_pr_decoupler_br_ops = { +static const struct fpga_bridge_ops xlnx_pr_decoupler_br_ops = { .enable_set = xlnx_pr_decoupler_enable_set, .enable_show = xlnx_pr_decoupler_enable_show, }; |