drivers/staging/fpga/socfpga.c:655:25: sparse: symbol 'socfpga_fpga_ops' was 
not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang...@intel.com>
---
 socfpga.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fpga/socfpga.c b/drivers/staging/fpga/socfpga.c
index 4440b84..ae9a2f1 100644
--- a/drivers/staging/fpga/socfpga.c
+++ b/drivers/staging/fpga/socfpga.c
@@ -652,7 +652,7 @@ static int socfpga_fpga_resume(struct fpga_manager *mgr)
        return ret;
 }
 
-struct fpga_manager_ops socfpga_fpga_ops = {
+static struct fpga_manager_ops socfpga_fpga_ops = {
        .reset = socfpga_fpga_reset,
        .state = socfpga_fpga_ops_state,
        .write_init = socfpga_fpga_ops_configure_init,
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to