* [PATCH 0/1] patch for fpga
@ 2017-09-21 14:52 Alan Tull
2017-09-21 14:52 ` [PATCH 1/1] fpga: make xlnx_pr_decoupler_br_ops const Alan Tull
0 siblings, 1 reply; 2+ messages in thread
From: Alan Tull @ 2017-09-21 14:52 UTC (permalink / raw)
To: Greg Kroah-Hartman, Moritz Fischer; +Cc: linux-kernel, linux-fpga, Alan Tull
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(-)
--
2.11.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] fpga: make xlnx_pr_decoupler_br_ops const
2017-09-21 14:52 [PATCH 0/1] patch for fpga Alan Tull
@ 2017-09-21 14:52 ` Alan Tull
0 siblings, 0 replies; 2+ messages in thread
From: Alan Tull @ 2017-09-21 14:52 UTC (permalink / raw)
To: Greg Kroah-Hartman, Moritz Fischer
Cc: linux-kernel, linux-fpga, Bhumika Goyal, Alan Tull
From: Bhumika Goyal <bhumirks@gmail.com>
Make this const as it is only passed to a const argument of the function
fpga_bridge_register.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Alan Tull <atull@kernel.org>
---
drivers/fpga/xilinx-pr-decoupler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-21 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 14:52 [PATCH 0/1] patch for fpga Alan Tull
2017-09-21 14:52 ` [PATCH 1/1] fpga: make xlnx_pr_decoupler_br_ops const Alan Tull
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.