netdev: drivers should make ethtool_ops const
[linux-2.6-block.git] / drivers / net / tehuti.c
index 918d4c9e49b3eb064b3e8cae9a4b1b9fd6386d1d..ec9dfb251f30173ff6a243b94f3b32cc4af6560e 100644 (file)
@@ -2428,7 +2428,7 @@ static void bdx_get_ethtool_stats(struct net_device *netdev,
  */
 static void bdx_ethtool_ops(struct net_device *netdev)
 {
-       static struct ethtool_ops bdx_ethtool_ops = {
+       static const struct ethtool_ops bdx_ethtool_ops = {
                .get_settings = bdx_get_settings,
                .get_drvinfo = bdx_get_drvinfo,
                .get_link = ethtool_op_get_link,