OSDN Git Service

net: ll_temac: Make some functions static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 4 May 2019 10:10:30 +0000 (18:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:48:45 +0000 (10:48 -0700)
commit6e05b833de447b6718735d0315fb18fb411ef8ca
treeb91cb37735c856faed516f81cc84552a6db5d1d7
parent44bec4b3bd71a169f967cae8d5ad503e60f0a165
net: ll_temac: Make some functions static

Fix sparse warnings:

drivers/net/ethernet/xilinx/ll_temac_main.c:66:5: warning: symbol '_temac_ior_be' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:71:6: warning: symbol '_temac_iow_be' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:76:5: warning: symbol '_temac_ior_le' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:81:6: warning: symbol '_temac_iow_le' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:648:6: warning: symbol 'ptr_to_txbd' was not declared. Should it be static?
drivers/net/ethernet/xilinx/ll_temac_main.c:654:6: warning: symbol 'ptr_from_txbd' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c