davinci: fix remaining dm644x_eth
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 31 Aug 2008 02:45:42 +0000 (04:45 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 31 Aug 2008 02:45:42 +0000 (04:45 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
include/asm-arm/arch-davinci/emac_defs.h
net/eth.c

index 0e10116d87051e6da3138603e290836f10f5b4f1..c11161f58067f49f1d47b0faea52daf6fec4ba54 100644 (file)
@@ -284,8 +284,8 @@ typedef struct  {
        dv_reg          USERPHYSEL1;
 } mdio_regs;
 
-int dm644x_eth_phy_read(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t *data);
-int dm644x_eth_phy_write(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t data);
+int davinci_eth_phy_read(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t *data);
+int davinci_eth_phy_write(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t data);
 
 typedef struct
 {
index c35c57ba9c1554b2c4e1bd463889d83f50e44786..85fa0da2375fdb785884073956a8c5c81ed25961 100644 (file)
--- a/net/eth.c
+++ b/net/eth.c
@@ -576,7 +576,7 @@ extern int at91rm9200_miiphy_initialize(bd_t *bis);
 extern int emac4xx_miiphy_initialize(bd_t *bis);
 extern int mcf52x2_miiphy_initialize(bd_t *bis);
 extern int ns7520_miiphy_initialize(bd_t *bis);
-extern int dm644x_eth_miiphy_initialize(bd_t *bis);
+extern int davinci_eth_miiphy_initialize(bd_t *bis);
 
 
 int eth_initialize(bd_t *bis)