drivers/net: const-ify ethtool_ops declarations
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / sunqe.c
index d5c1448d587c6b0ad5a800dcc017f9cb2e48f997..9202a1c369ddc28dd184ae6fff94bdd475b25360 100644 (file)
@@ -718,7 +718,7 @@ static u32 qe_get_link(struct net_device *dev)
        return (phyconfig & MREGS_PHYCONFIG_LSTAT);
 }
 
-static struct ethtool_ops qe_ethtool_ops = {
+static const struct ethtool_ops qe_ethtool_ops = {
        .get_drvinfo            = qe_get_drvinfo,
        .get_link               = qe_get_link,
 };