]> git.baikalelectronics.ru Git - kernel.git/commit
lan743x: make functions lan743x_csr_read and lan743x_csr_read static
authorColin Ian King <colin.king@canonical.com>
Sun, 11 Mar 2018 16:55:47 +0000 (17:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 15:12:38 +0000 (11:12 -0400)
commit000dcfcf8baec9167719860aaf1ec09d1a968302
tree9d47cb28e76524bc7f3af83e1bd3c351338de007
parentf6ebe8415a7feaa40c6d669c057d0e5a832b7383
lan743x: make functions lan743x_csr_read and lan743x_csr_read static

Functions lan743x_csr_read and lan743x_csr_read are local to the source
and do not need to be in global scope, so make them static.

Cleans up sparse warning:
drivers/net/ethernet/microchip/lan743x_main.c:56:5: warning: symbol
lan743x_csr_read' was not declared. Should it be static?
drivers/net/ethernet/microchip/lan743x_main.c:61:6: warning: symbol
'lan743x_csr_write' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c