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/sk98lin | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sk98lin')
-rw-r--r-- | drivers/net/sk98lin/skethtool.c | 2 | ||||
-rw-r--r-- | drivers/net/sk98lin/skge.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sk98lin/skethtool.c b/drivers/net/sk98lin/skethtool.c index 4265ed91a9c4..e5cb5b548b88 100644 --- a/drivers/net/sk98lin/skethtool.c +++ b/drivers/net/sk98lin/skethtool.c | |||
@@ -581,7 +581,7 @@ static int setRxCsum(struct net_device *dev, u32 data) | |||
581 | return 0; | 581 | return 0; |
582 | } | 582 | } |
583 | 583 | ||
584 | struct ethtool_ops SkGeEthtoolOps = { | 584 | const struct ethtool_ops SkGeEthtoolOps = { |
585 | .get_settings = getSettings, | 585 | .get_settings = getSettings, |
586 | .set_settings = setSettings, | 586 | .set_settings = setSettings, |
587 | .get_drvinfo = getDriverInfo, | 587 | .get_drvinfo = getDriverInfo, |
diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c index 49e76c7f10da..0ecfc14e7990 100644 --- a/drivers/net/sk98lin/skge.c +++ b/drivers/net/sk98lin/skge.c | |||
@@ -248,7 +248,7 @@ static void DumpLong(char*, int); | |||
248 | 248 | ||
249 | /* global variables *********************************************************/ | 249 | /* global variables *********************************************************/ |
250 | static SK_BOOL DoPrintInterfaceChange = SK_TRUE; | 250 | static SK_BOOL DoPrintInterfaceChange = SK_TRUE; |
251 | extern struct ethtool_ops SkGeEthtoolOps; | 251 | extern const struct ethtool_ops SkGeEthtoolOps; |
252 | 252 | ||
253 | /* local variables **********************************************************/ | 253 | /* local variables **********************************************************/ |
254 | static uintptr_t TxQueueAddr[SK_MAX_MACS][2] = {{0x680, 0x600},{0x780, 0x700}}; | 254 | static uintptr_t TxQueueAddr[SK_MAX_MACS][2] = {{0x680, 0x600},{0x780, 0x700}}; |