From 20a41ae80bea48db1225bbfba67ffb17ec89b318 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sat, 22 Nov 2014 18:48:55 +1100 Subject: [PATCH] drivers/net/ne2k.c: Fix regression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provide dummy ramstage symbol to keep the linker happy. Borked in commit fd95624 Change-Id: I2c49e82fec8eb936390cc3b30698f1bf73968c99 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/7548 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/drivers/net/ne2k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {