diff options
author | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-06 00:47:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-06 00:47:18 -0700 |
commit | 5bcaa155797ab62ed363932ec0f02fbcb5db1ef1 (patch) | |
tree | 1db633712bd47ce72ac5a1aed62b3417733ac63a /drivers/net/chelsio/cxgb2.c | |
parent | 1e231efe50ffe4d291be24d2fe393188de9c4b08 (diff) | |
parent | 3a48c4c2d52a08e12319ab7caacad0a9b88e6cb4 (diff) | |
download | kernel_samsung_smdk4412-5bcaa155797ab62ed363932ec0f02fbcb5db1ef1.zip kernel_samsung_smdk4412-5bcaa155797ab62ed363932ec0f02fbcb5db1ef1.tar.gz kernel_samsung_smdk4412-5bcaa155797ab62ed363932ec0f02fbcb5db1ef1.tar.bz2 |
Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Diffstat (limited to 'drivers/net/chelsio/cxgb2.c')
-rw-r--r-- | drivers/net/chelsio/cxgb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c index 28ae478..349ebe7 100644 --- a/drivers/net/chelsio/cxgb2.c +++ b/drivers/net/chelsio/cxgb2.c @@ -824,7 +824,7 @@ static void cxgb_proc_cleanup(struct adapter *adapter, static int t1_ioctl(struct net_device *dev, struct ifreq *req, int cmd) { struct adapter *adapter = dev->priv; - struct mii_ioctl_data *data = (struct mii_ioctl_data *)&req->ifr_data; + struct mii_ioctl_data *data = if_mii(req); switch (cmd) { case SIOCGMIIPHY: |