]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/bonding/bond_main.c
drivers/net: const-ify ethtool_ops declarations
[karo-tx-linux.git] / drivers / net / bonding / bond_main.c
index 8171cae066888c23d0ec22d0019bdda9353c840f..850aae21a2fe4f48981ead85ee89e2f795e5227c 100644 (file)
@@ -33,7 +33,6 @@
 
 //#define BONDING_DEBUG 1
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/sched.h>
@@ -4131,7 +4130,7 @@ static void bond_ethtool_get_drvinfo(struct net_device *bond_dev,
        snprintf(drvinfo->fw_version, 32, "%d", BOND_ABI_VERSION);
 }
 
-static struct ethtool_ops bond_ethtool_ops = {
+static const struct ethtool_ops bond_ethtool_ops = {
        .get_tx_csum            = ethtool_op_get_tx_csum,
        .get_tso                = ethtool_op_get_tso,
        .get_ufo                = ethtool_op_get_ufo,