summaryrefslogtreecommitdiff
path: root/src/drivers/net/ne2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/ne2k.c')
-rw-r--r--src/drivers/net/ne2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index 250baf7877..b59fe082fd 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -392,7 +392,6 @@ static void ns8390_reset(unsigned int eth_nic_base)
set_count(eth_nic_base, 0);
}
-
int ne2k_init(unsigned int eth_nic_base) {
device_t dev;
@@ -425,6 +424,7 @@ int ne2k_init(unsigned int eth_nic_base) {
}
#else
+int ne2k_init(unsigned int eth_nic_base) { return 0; } // dummy symbol for ramstage
static void read_resources(struct device *dev)
{