public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: Fix faulty definition of uec_initialize()
@ 2010-08-09 19:15 Joakim Tjernlund
  2010-08-09 20:18 ` Mike Frysinger
  0 siblings, 1 reply; 9+ messages in thread
From: Joakim Tjernlund @ 2010-08-09 19:15 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@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

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [U-Boot] [PATCHv2] net: Fix faulty definition of uec_initialize()
@ 2010-08-10 12:18 Joakim Tjernlund
  0 siblings, 0 replies; 9+ messages in thread
From: Joakim Tjernlund @ 2010-08-10 12:18 UTC (permalink / raw)
  To: u-boot

The correct definition is in drivers/qe/uec.h so just
remove this one.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
 include/netdev.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/netdev.h b/include/netdev.h
index 882642a..65833e2 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -83,7 +83,6 @@ 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);
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-08-31  6:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09 19:15 [U-Boot] [PATCH] net: Fix faulty definition of uec_initialize() Joakim Tjernlund
2010-08-09 20:18 ` Mike Frysinger
2010-08-09 20:54   ` Ben Warren
2010-08-10  5:52     ` Joakim Tjernlund
2010-08-10  6:04       ` Mike Frysinger
2010-08-10 12:10         ` Joakim Tjernlund
2010-08-19  7:37     ` [U-Boot] [PATCHv2] " Joakim Tjernlund
2010-08-31  6:02       ` Ben Warren
  -- strict thread matches above, loose matches on Subject: below --
2010-08-10 12:18 Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox