drivers/net/ne2k.c: Fix regression

Provide dummy ramstage symbol to keep the linker happy. Borked
in commit fd95624

Change-Id: I2c49e82fec8eb936390cc3b30698f1bf73968c99
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7548
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Edward O'Callaghan 2014-11-22 18:48:55 +11:00
parent b67eaee325
commit 20a41ae80b
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,6 @@ static void ns8390_reset(unsigned int eth_nic_base)
set_count(eth_nic_base, 0); set_count(eth_nic_base, 0);
} }
int ne2k_init(unsigned int eth_nic_base) { int ne2k_init(unsigned int eth_nic_base) {
device_t dev; device_t dev;
@ -425,6 +424,7 @@ int ne2k_init(unsigned int eth_nic_base) {
} }
#else #else
int ne2k_init(unsigned int eth_nic_base) { return 0; } // dummy symbol for ramstage
static void read_resources(struct device *dev) static void read_resources(struct device *dev)
{ {