X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=drivers%2Fnet%2Fdepca.c;h=5d62a032b8c876af6b046f09037e061b31c68b30;hp=80e8617dcb2c3e0cac6cef9e99e457fc3cfe8de3;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9 diff --git a/drivers/net/depca.c b/drivers/net/depca.c index 80e8617dc..5d62a032b 100644 --- a/drivers/net/depca.c +++ b/drivers/net/depca.c @@ -1937,7 +1937,7 @@ static void depca_dbg_open(struct net_device *dev) static int depca_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) { struct depca_private *lp = (struct depca_private *) dev->priv; - struct depca_ioctl *ioc = (struct depca_ioctl *) &rq->ifr_data; + struct depca_ioctl *ioc = (struct depca_ioctl *) &rq->ifr_ifru; int i, status = 0; u_long ioaddr = dev->base_addr; union {