aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/pm3393.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-02-20 18:58:02 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 11:00:56 -0400
commit459e536b1ddfd217ec8a3437a3214968a98223c7 (patch)
tree89fa87d66c29f8688586218e96d60de8a7be631f /drivers/net/chelsio/pm3393.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/pm3393.c')
-rw-r--r--drivers/net/chelsio/pm3393.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/chelsio/pm3393.c b/drivers/net/chelsio/pm3393.c
index 69129edeefd6..678778a8d133 100644
--- a/drivers/net/chelsio/pm3393.c
+++ b/drivers/net/chelsio/pm3393.c
@@ -807,8 +807,8 @@ static int pm3393_mac_reset(adapter_t * adapter)
807 return successful_reset ? 0 : 1; 807 return successful_reset ? 0 : 1;
808} 808}
809 809
810struct gmac t1_pm3393_ops = { 810const struct gmac t1_pm3393_ops = {
811 STATS_TICK_SECS, 811 .stats_update_period = STATS_TICK_SECS,
812 pm3393_mac_create, 812 .create = pm3393_mac_create,
813 pm3393_mac_reset 813 .reset = pm3393_mac_reset,
814}; 814};