aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-02 04:03:33 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 04:03:33 -0400
commit0fc0b732eaa38beb93a6fb62f77c7bd9622c76ec (patch)
tree2423b134116c16f027ebeae7954c098f27d6e619 /drivers/s390/net/qeth_l2_main.c
parentdaf09de817353f18bb81a23a023d429cfd258e62 (diff)
netdev: drivers should make ethtool_ops const
No need to put ethtool_ops in data, they should be const. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 12ee7a35ca59..94b161121c26 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -863,7 +863,7 @@ static void qeth_l2_remove_device(struct ccwgroup_device *cgdev)
863 return; 863 return;
864} 864}
865 865
866static struct ethtool_ops qeth_l2_ethtool_ops = { 866static const struct ethtool_ops qeth_l2_ethtool_ops = {
867 .get_link = ethtool_op_get_link, 867 .get_link = ethtool_op_get_link,
868 .get_strings = qeth_core_get_strings, 868 .get_strings = qeth_core_get_strings,
869 .get_ethtool_stats = qeth_core_get_ethtool_stats, 869 .get_ethtool_stats = qeth_core_get_ethtool_stats,
@@ -872,7 +872,7 @@ static struct ethtool_ops qeth_l2_ethtool_ops = {
872 .get_settings = qeth_core_ethtool_get_settings, 872 .get_settings = qeth_core_ethtool_get_settings,
873}; 873};
874 874
875static struct ethtool_ops qeth_l2_osn_ops = { 875static const struct ethtool_ops qeth_l2_osn_ops = {
876 .get_strings = qeth_core_get_strings, 876 .get_strings = qeth_core_get_strings,
877 .get_ethtool_stats = qeth_core_get_ethtool_stats, 877 .get_ethtool_stats = qeth_core_get_ethtool_stats,
878 .get_stats_count = qeth_core_get_stats_count, 878 .get_stats_count = qeth_core_get_stats_count,