diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-02-21 00:58:02 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 17:00:56 +0200 |
commit | 459e536b1ddfd217ec8a3437a3214968a98223c7 (patch) | |
tree | 89fa87d66c29f8688586218e96d60de8a7be631f /drivers/net/chelsio/common.h | |
parent | chelsio: use C99 style initialization (diff) | |
download | linux-459e536b1ddfd217ec8a3437a3214968a98223c7.tar.xz linux-459e536b1ddfd217ec8a3437a3214968a98223c7.zip |
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 { unsigned char mdio_mdiinv; unsigned char mdio_mdc; unsigned char mdio_phybaseaddr; - struct gmac *gmac; - struct gphy *gphy; - struct mdio_ops *mdio_ops; + const struct gmac *gmac; + const struct gphy *gphy; + const struct mdio_ops *mdio_ops; const char *desc; }; |