diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-22 18:48:55 +1100 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-22 15:25:09 +0100 |
commit | 20a41ae80bea48db1225bbfba67ffb17ec89b318 (patch) | |
tree | 96873974d13ccf75997d97a5fa83e20e984b2205 /src | |
parent | b67eaee325a032f508675c49ffd2fae8205e73c3 (diff) |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/net/ne2k.c | 2 |
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) { |