fs_enet: Add support for MPC512x to fs_enet driver
[safe/jmp/linux-2.6] / drivers / net / fs_enet / mii-fec.c
index 96eba42..5944b65 100644 (file)
@@ -52,7 +52,7 @@
 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location)
 {
        struct fec_info* fec = bus->priv;
-       fec_t __iomem *fecp = fec->fecp;
+       struct fec __iomem *fecp = fec->fecp;
        int i, ret = -1;
 
        BUG_ON((in_be32(&fecp->fec_r_cntrl) & FEC_RCNTRL_MII_MODE) == 0);
@@ -75,7 +75,7 @@ static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location)
 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val)
 {
        struct fec_info* fec = bus->priv;
-       fec_t __iomem *fecp = fec->fecp;
+       struct fec __iomem *fecp = fec->fecp;
        int i;
 
        /* this must never happen */