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/common.h | |
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/common.h')
-rw-r--r-- | drivers/net/chelsio/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/chelsio/common.h b/drivers/net/chelsio/common.h index 787f2f2820fe..8ba702c8b560 100644 --- a/drivers/net/chelsio/common.h +++ b/drivers/net/chelsio/common.h | |||
@@ -322,9 +322,9 @@ struct board_info { | |||
322 | unsigned char mdio_mdiinv; | 322 | unsigned char mdio_mdiinv; |
323 | unsigned char mdio_mdc; | 323 | unsigned char mdio_mdc; |
324 | unsigned char mdio_phybaseaddr; | 324 | unsigned char mdio_phybaseaddr; |
325 | struct gmac *gmac; | 325 | const struct gmac *gmac; |
326 | struct gphy *gphy; | 326 | const struct gphy *gphy; |
327 | struct mdio_ops *mdio_ops; | 327 | const struct mdio_ops *mdio_ops; |
328 | const char *desc; | 328 | const char *desc; |
329 | }; | 329 | }; |
330 | 330 | ||