summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/pcnet32.c
diff options
context:
space:
mode:
authorHolger Lubitz2007-07-27 21:50:12 +0200
committerHolger Lubitz2007-07-27 21:50:12 +0200
commit909ad9e80a94e55972255e422c5bf49bdd437d93 (patch)
treeb438d932079b48d14c03ebadd72b225c2bfe2132 /src/drivers/net/pcnet32.c
parentmake bool m_echo static (diff)
downloadipxe-909ad9e80a94e55972255e422c5bf49bdd437d93.tar.gz
ipxe-909ad9e80a94e55972255e422c5bf49bdd437d93.tar.xz
ipxe-909ad9e80a94e55972255e422c5bf49bdd437d93.zip
make cards_found static and add missing initialization
Diffstat (limited to 'src/drivers/net/pcnet32.c')
-rw-r--r--src/drivers/net/pcnet32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c
index 0328cf2c..63353e3f 100644
--- a/src/drivers/net/pcnet32.c
+++ b/src/drivers/net/pcnet32.c
@@ -67,7 +67,7 @@ static struct nic_operations pcnet32_operations;
/* End Etherboot Specific */
-int cards_found /* __initdata */ ;
+static int cards_found = 0 /* __initdata */ ;
#ifdef REMOVE
/* FIXME: Remove these they are probably pointless */