netdev: drivers should make ethtool_ops const
[deliverable/linux.git] / drivers / net / usb / hso.c
index 123f9b84dd299e1c81c10d2e688291139ef9a8df..3f9c92a2afcbddf91e4d7e47746106872fdba9e1 100644 (file)
@@ -829,7 +829,7 @@ static void hso_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info
        usb_make_path(odev->parent->usb, info->bus_info, sizeof info->bus_info);
 }
 
-static struct ethtool_ops ops = {
+static const struct ethtool_ops ops = {
        .get_drvinfo = hso_get_drvinfo,
        .get_link = ethtool_op_get_link
 };
This page took 0.023997 seconds and 5 git commands to generate.