netdev: drivers should make ethtool_ops const
[deliverable/linux.git] / drivers / staging / at76_usb / at76_usb.c
index 7b8aa5edf42f2d55217ef2caaeb1b3a44a4fac74..c165c50c011944d7139831702594ca982f46db34 100644 (file)
@@ -3396,7 +3396,7 @@ static u32 at76_ethtool_get_link(struct net_device *netdev)
        return priv->mac_state == MAC_CONNECTED;
 }
 
-static struct ethtool_ops at76_ethtool_ops = {
+static const struct ethtool_ops at76_ethtool_ops = {
        .get_drvinfo = at76_ethtool_get_drvinfo,
        .get_link = at76_ethtool_get_link,
 };
This page took 0.023736 seconds and 5 git commands to generate.