summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc9194.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 08:56:45 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-26 08:56:45 +0100
commitdac499f912abd5838fa3501efdcd0f23d5f4fc29 (patch)
treee637b9941f223ebf8b4279520b5cc35081d8ca21 /drivers/net/smc9194.c
parentdrivers/net: fix sparse warning: returning void-valued expression (diff)
downloadlinux-dac499f912abd5838fa3501efdcd0f23d5f4fc29.tar.xz
linux-dac499f912abd5838fa3501efdcd0f23d5f4fc29.zip
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/smc9194.c')
-rw-r--r--drivers/net/smc9194.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc9194.c b/drivers/net/smc9194.c
index e7cc80f32560..18d653bbd4e0 100644
--- a/drivers/net/smc9194.c
+++ b/drivers/net/smc9194.c
@@ -764,7 +764,7 @@ out:
. interrupt, so an auto-detect routine can detect it, and find the IRQ,
------------------------------------------------------------------------
*/
-int __init smc_findirq( int ioaddr )
+static int __init smc_findirq(int ioaddr)
{
#ifndef NO_AUTOPROBE
int timeout = 20;