aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/chelsio/vsc7326.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-02-20 15:58:02 -0800
committerJeff Garzik <jeff@garzik.org>2007-04-28 11:00:56 -0400
commit459e536b1ddfd217ec8a3437a3214968a98223c7 (patch)
tree89fa87d66c29f8688586218e96d60de8a7be631f /drivers/net/chelsio/vsc7326.c
parent4c247db114d95fb42528afe4c16db522dd050d7b (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/vsc7326.c b/drivers/net/chelsio/vsc7326.c
index 534ffa0f616..99b51f61fe7 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)
return 0;
}
-struct gmac t1_vsc7326_ops = {
+const struct gmac t1_vsc7326_ops = {
.stats_update_period = STATS_TICK_SECS,
.create = vsc7326_mac_create,
.reset = vsc7326_mac_reset,