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/ucc_geth.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r-- | drivers/net/ucc_geth.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 4e188f4289b4..700ebd7d1457 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -4129,20 +4129,7 @@ static int ucc_geth_close(struct net_device *dev) | |||
4129 | return 0; | 4129 | return 0; |
4130 | } | 4130 | } |
4131 | 4131 | ||
4132 | struct ethtool_ops ucc_geth_ethtool_ops = { | 4132 | const struct ethtool_ops ucc_geth_ethtool_ops = { }; |
4133 | .get_settings = NULL, | ||
4134 | .get_drvinfo = NULL, | ||
4135 | .get_regs_len = NULL, | ||
4136 | .get_regs = NULL, | ||
4137 | .get_link = NULL, | ||
4138 | .get_coalesce = NULL, | ||
4139 | .set_coalesce = NULL, | ||
4140 | .get_ringparam = NULL, | ||
4141 | .set_ringparam = NULL, | ||
4142 | .get_strings = NULL, | ||
4143 | .get_stats_count = NULL, | ||
4144 | .get_ethtool_stats = NULL, | ||
4145 | }; | ||
4146 | 4133 | ||
4147 | static int ucc_geth_probe(struct device *device) | 4134 | static int ucc_geth_probe(struct device *device) |
4148 | { | 4135 | { |