]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: meson-gxl: make function meson_gxl_read_status static
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Dec 2017 13:03:11 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:04:40 +0000 (15:04 -0500)
commite3ef4f2ef8312355bc6c50634b50a1b930361e06
tree02e53a5a0d3f0f9ba70c81acf7d1582881b3bec9
parentc69aa5e43fd036664aebe8265c02c8ddc6adc4c9
net: phy: meson-gxl: make function meson_gxl_read_status static

The function meson_gxl_read_status is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'meson_gxl_read_status' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/meson-gxl.c