diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-06 11:19:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-07 01:58:59 +0300 |
commit | e0c79ff6286f534f3e9fadab529b0ce1e2c6d917 (patch) | |
tree | 38cb1848d1c636e85870a5dad282f63f731d8753 /firmware/av7110 | |
parent | c63ad410a2379960238c82309eb9c18d0c893243 (diff) | |
download | linux-e0c79ff6286f534f3e9fadab529b0ce1e2c6d917.tar.xz |
lan78xx: mark symbols static where possible
We get a few warnings when building kernel with W=1:
drivers/net/usb/lan78xx.c:1182:6: warning: no previous prototype for 'lan78xx_defer_kevent' [-Wmissing-prototypes]
drivers/net/usb/lan78xx.c:1409:5: warning: no previous prototype for 'lan78xx_nway_reset' [-Wmissing-prototypes]
drivers/net/usb/lan78xx.c:2000:5: warning: no previous prototype for 'lan78xx_set_mac_addr' [-Wmissing-prototypes]
....
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/av7110')
0 files changed, 0 insertions, 0 deletions