diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-02-20 18:58:02 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:00:56 -0400 |
commit | 459e536b1ddfd217ec8a3437a3214968a98223c7 (patch) | |
tree | 89fa87d66c29f8688586218e96d60de8a7be631f /drivers/net/chelsio/vsc7326.c | |
parent | 4c247db114d95fb42528afe4c16db522dd050d7b (diff) |
chelsio: use const for virtual functions
There are several uses of _ops structure in this driver that
can be converted to const.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/vsc7326.c')
-rw-r--r-- | drivers/net/chelsio/vsc7326.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/vsc7326.c b/drivers/net/chelsio/vsc7326.c index 534ffa0f616e..99b51f61fe77 100644 --- a/drivers/net/chelsio/vsc7326.c +++ b/drivers/net/chelsio/vsc7326.c | |||
@@ -723,7 +723,7 @@ static int vsc7326_mac_reset(adapter_t *adapter) | |||
723 | return 0; | 723 | return 0; |
724 | } | 724 | } |
725 | 725 | ||
726 | struct gmac t1_vsc7326_ops = { | 726 | const struct gmac t1_vsc7326_ops = { |
727 | .stats_update_period = STATS_TICK_SECS, | 727 | .stats_update_period = STATS_TICK_SECS, |
728 | .create = vsc7326_mac_create, | 728 | .create = vsc7326_mac_create, |
729 | .reset = vsc7326_mac_reset, | 729 | .reset = vsc7326_mac_reset, |