diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
commit | 7282d491ecaee9883233a0e27283c4c79486279a (patch) | |
tree | 172ffa70716f5493db57976ceef7652120b3332f /drivers/net/tun.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 20db30891db0..de8da6dee1b0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -69,7 +69,7 @@ static int debug; | |||
69 | /* Network device part of the driver */ | 69 | /* Network device part of the driver */ |
70 | 70 | ||
71 | static LIST_HEAD(tun_dev_list); | 71 | static LIST_HEAD(tun_dev_list); |
72 | static struct ethtool_ops tun_ethtool_ops; | 72 | static const struct ethtool_ops tun_ethtool_ops; |
73 | 73 | ||
74 | /* Net device open. */ | 74 | /* Net device open. */ |
75 | static int tun_net_open(struct net_device *dev) | 75 | static int tun_net_open(struct net_device *dev) |
@@ -856,7 +856,7 @@ static int tun_set_rx_csum(struct net_device *dev, u32 data) | |||
856 | return 0; | 856 | return 0; |
857 | } | 857 | } |
858 | 858 | ||
859 | static struct ethtool_ops tun_ethtool_ops = { | 859 | static const struct ethtool_ops tun_ethtool_ops = { |
860 | .get_settings = tun_get_settings, | 860 | .get_settings = tun_get_settings, |
861 | .get_drvinfo = tun_get_drvinfo, | 861 | .get_drvinfo = tun_get_drvinfo, |
862 | .get_msglevel = tun_get_msglevel, | 862 | .get_msglevel = tun_get_msglevel, |