dev_ioctl: split out ndo_eth_ioctl
[linux-block.git] / drivers / net / ethernet / micrel / ks8851_common.c
index 831518466de22f5ad6ae153c4457d664d684645c..3f69bb59ba49a8fb1b5e091261e26bffdbbeffdc 100644 (file)
@@ -689,7 +689,7 @@ static int ks8851_net_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
 static const struct net_device_ops ks8851_netdev_ops = {
        .ndo_open               = ks8851_net_open,
        .ndo_stop               = ks8851_net_stop,
-       .ndo_do_ioctl           = ks8851_net_ioctl,
+       .ndo_eth_ioctl          = ks8851_net_ioctl,
        .ndo_start_xmit         = ks8851_start_xmit,
        .ndo_set_mac_address    = ks8851_set_mac_address,
        .ndo_set_rx_mode        = ks8851_set_rx_mode,