summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-region.h
diff options
context:
space:
mode:
authorSimon Horman <horms@kernel.org>2024-08-06 13:56:01 +0300
committerJakub Kicinski <kuba@kernel.org>2024-08-09 05:43:06 +0300
commita39036847fa3a0cc09895e1693ef3ab5b74dce1e (patch)
tree40677f80e816f081afcebed17303fb6b8393201b /include/linux/fpga/fpga-region.h
parente47fd9beb1cec00f43077d6b6238c8d30bd03ecf (diff)
downloadlinux-a39036847fa3a0cc09895e1693ef3ab5b74dce1e.tar.xz
bnx2x: Provide declaration of dmae_reg_go_c in header
Provide declaration of dmae_reg_go_c in header. This symbol is defined in bnx2x_main.c. And used in that file and bnx2x_stats.c. However, Sparse complains that there is no declaration of the symbol in dmae_reg_go_c nor is the symbol static. .../bnx2x_main.c:291:11: warning: symbol 'dmae_reg_go_c' was not declared. Should it be static? Address this by moving the declaration from bnx2x_stats.c to bnx2x_reg.h. No functional change intended. Compile tested only. Signed-off-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20240806-bnx2x-dec-v1-1-ae844ec785e4@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions