diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 02:56:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 02:56:45 -0500 |
commit | dac499f912abd5838fa3501efdcd0f23d5f4fc29 (patch) | |
tree | e637b9941f223ebf8b4279520b5cc35081d8ca21 /drivers/net/eepro.c | |
parent | a08b32df1417146b1a4c43e641ec1177da51896c (diff) |
drivers/net: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/3c523.c:350:6: warning: symbol 'alloc586' was not declared. Should it be static?
drivers/net/cs89x0.c:1029:14: warning: symbol 'reset_chip' was not declared. Should it be static?
drivers/net/eepro.c:1399:1: warning: symbol 'read_eeprom' was not declared. Should it be static?
drivers/net/plip.c:1020:5: warning: symbol 'plip_hard_header_cache' was not declared. Should it be static?
drivers/net/s2io.c:5116:6: warning: symbol 'do_s2io_store_unicast_mc' was not declared. Should it be static?
drivers/net/smc9194.c:767:12: warning: symbol 'smc_findirq' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 0a984619411b..e187c88ae145 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -1395,7 +1395,7 @@ set_multicast_list(struct net_device *dev) | |||
1395 | #define eeprom_delay() { udelay(40); } | 1395 | #define eeprom_delay() { udelay(40); } |
1396 | #define EE_READ_CMD (6 << 6) | 1396 | #define EE_READ_CMD (6 << 6) |
1397 | 1397 | ||
1398 | int | 1398 | static int |
1399 | read_eeprom(int ioaddr, int location, struct net_device *dev) | 1399 | read_eeprom(int ioaddr, int location, struct net_device *dev) |
1400 | { | 1400 | { |
1401 | int i; | 1401 | int i; |