Commit b17382ab authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] via-velocity switched use of to if_mii()

Either it got missed back when if_mii() was introduced, or it got merged
that way later.
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9bc83ac2
......@@ -2892,7 +2892,7 @@ static int velocity_mii_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd
struct velocity_info *vptr = dev->priv;
struct mac_regs * regs = vptr->mac_regs;
unsigned long flags;
struct mii_ioctl_data *miidata = (struct mii_ioctl_data *) &(ifr->ifr_data);
struct mii_ioctl_data *miidata = if_mii(ifr);
int err;
switch (cmd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment