]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/usb/gadget/u_ether.c
netdev: drivers should make ethtool_ops const
[linux-beck.git] / drivers / usb / gadget / u_ether.c
index dc3ebd1e68ca8feb5573e7c35f264e584502616b..c665219539170988c1083d6b379dec303b68fb08 100644 (file)
@@ -181,7 +181,7 @@ static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p)
  *   - ... probably more ethtool ops
  */
 
-static struct ethtool_ops ops = {
+static const struct ethtool_ops ops = {
        .get_drvinfo = eth_get_drvinfo,
        .get_link = ethtool_op_get_link,
 };