Skip to contentSkip to conversation

patch for fpga

PATCH New Alan Tull 1 participant 2 messages Sep 21, 2017

Subsystems (2)
lore
Share & tools
lore

Alan Tull

author
#0 lore raw

cover patch for fpga

Hi Greg,

Please take this one small fix for fpga.

Thanks!
Alan

Bhumika Goyal (1):
fpga: make xlnx_pr_decoupler_br_ops const

 drivers/fpga/xilinx-pr-decoupler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.11.0
author
#1 lore raw

PATCH 1/1 fpga: make xlnx_pr_decoupler_br_ops const

From: Bhumika Goyal <[email protected]>

Make this const as it is only passed to a const argument of the function fpga_bridge_register.

---
 drivers/fpga/xilinx-pr-decoupler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/xilinx-pr-decoupler.c +1 -1
index e359930bebc8..0d7743089414 100644
@@ -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,
 };
Signature · 1 line
2.11.0