From 82b24a8a505fc81466484b3c55b574ee0b4205bc Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Mon, 14 Jul 2008 20:40:22 +0200 Subject: [PATCH] elppc board: fix syntax error. Signed-off-by: Wolfgang Denk --- board/eltec/elppc/eepro100_srom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/eltec/elppc/eepro100_srom.c b/board/eltec/elppc/eepro100_srom.c index f021c50cd6..1b6d1e039b 100644 --- a/board/eltec/elppc/eepro100_srom.c +++ b/board/eltec/elppc/eepro100_srom.c @@ -96,7 +96,7 @@ void eepro100_srom_load (unsigned short *destination) for (count=0; count < 0x40; count++) { - *destination++ = read_eeprom (struct eth_device*)&onboard_dev, + *destination++ = read_eeprom ((struct eth_device*)&onboard_dev, count, EE_ADDR_BITS); #ifdef DEBUG printf ("%04x ", *(destination - 1)); -- 2.39.5