diff options
Diffstat (limited to 'drivers/net/fs_enet/mii-fec.c')
-rw-r--r-- | drivers/net/fs_enet/mii-fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fs_enet/mii-fec.c b/drivers/net/fs_enet/mii-fec.c index 96eba4280c5c..5944b65082cb 100644 --- a/drivers/net/fs_enet/mii-fec.c +++ b/drivers/net/fs_enet/mii-fec.c | |||
@@ -52,7 +52,7 @@ | |||
52 | static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) | 52 | static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) |
53 | { | 53 | { |
54 | struct fec_info* fec = bus->priv; | 54 | struct fec_info* fec = bus->priv; |
55 | fec_t __iomem *fecp = fec->fecp; | 55 | struct fec __iomem *fecp = fec->fecp; |
56 | int i, ret = -1; | 56 | int i, ret = -1; |
57 | 57 | ||
58 | BUG_ON((in_be32(&fecp->fec_r_cntrl) & FEC_RCNTRL_MII_MODE) == 0); | 58 | 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) | |||
75 | static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) | 75 | static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) |
76 | { | 76 | { |
77 | struct fec_info* fec = bus->priv; | 77 | struct fec_info* fec = bus->priv; |
78 | fec_t __iomem *fecp = fec->fecp; | 78 | struct fec __iomem *fecp = fec->fecp; |
79 | int i; | 79 | int i; |
80 | 80 | ||
81 | /* this must never happen */ | 81 | /* this must never happen */ |