netdev: drivers should make ethtool_ops const
[linux-2.6-block.git] / drivers / net / usb / smsc95xx.c
index 09bd6351f64c1fb7020c764ff11253b04822598c..938fb3530a7a779eee3344f2d4cd0dadfc07bdba 100644 (file)
@@ -625,7 +625,7 @@ static int smsc95xx_ethtool_set_tx_csum(struct net_device *netdev, u32 val)
        return smsc95xx_set_csums(dev);
 }
 
-static struct ethtool_ops smsc95xx_ethtool_ops = {
+static const struct ethtool_ops smsc95xx_ethtool_ops = {
        .get_link       = usbnet_get_link,
        .nway_reset     = usbnet_nway_reset,
        .get_drvinfo    = usbnet_get_drvinfo,