]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/octeon/ethernet-mdio.h
netdev: drivers should make ethtool_ops const
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / octeon / ethernet-mdio.h
index 6314141e5ef2751aaaae46f3d4da57224a763ca3..b3328aeec2dfcb6ed7400c586b044596442335c9 100644 (file)
@@ -41,6 +41,6 @@
 #include <net/xfrm.h>
 #endif /* CONFIG_XFRM */
 
-extern struct ethtool_ops cvm_oct_ethtool_ops;
+extern const struct ethtool_ops cvm_oct_ethtool_ops;
 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
 int cvm_oct_mdio_setup_device(struct net_device *dev);