[U-Boot] [PATCH] net: Fix faulty definition of uec_initialize()

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Mon Aug 9 21:15:30 CEST 2010


The correct definition is in drivers/qe/uec.h so just
include that one instead.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
---

 This is only compile tested on my board but hopefully
 it will do. If not, I urge Freescale to clean up this mess.

 include/netdev.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/netdev.h b/include/netdev.h
index 882642a..0873baf 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -83,12 +83,10 @@ int skge_initialize(bd_t *bis);
 int smc911x_initialize(u8 dev_num, int base_addr);
 int smc91111_initialize(u8 dev_num, int base_addr);
 int tsi108_eth_initialize(bd_t *bis);
-int uec_initialize(int index);
-int uec_standard_init(bd_t *bis);
 int uli526x_initialize(bd_t *bis);
 int sh_eth_initialize(bd_t *bis);
 int dm9000_initialize(bd_t *bis);
-
+#include "../drivers/qe/uec.h"
 /* Boards with PCI network controllers can call this from their board_eth_init()
  * function to initialize whatever's on board.
  * Return value is total # of devices found */
-- 
1.7.1



More information about the U-Boot mailing list