diff options
Diffstat (limited to 'drivers/net/chelsio/gmac.h')
-rw-r--r-- | drivers/net/chelsio/gmac.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/chelsio/gmac.h b/drivers/net/chelsio/gmac.h index 006a2eb2d362..d42337457cf7 100644 --- a/drivers/net/chelsio/gmac.h +++ b/drivers/net/chelsio/gmac.h | |||
@@ -126,7 +126,7 @@ typedef struct _cmac_instance cmac_instance; | |||
126 | struct cmac { | 126 | struct cmac { |
127 | struct cmac_statistics stats; | 127 | struct cmac_statistics stats; |
128 | adapter_t *adapter; | 128 | adapter_t *adapter; |
129 | struct cmac_ops *ops; | 129 | const struct cmac_ops *ops; |
130 | cmac_instance *instance; | 130 | cmac_instance *instance; |
131 | }; | 131 | }; |
132 | 132 | ||
@@ -136,11 +136,7 @@ struct gmac { | |||
136 | int (*reset)(adapter_t *); | 136 | int (*reset)(adapter_t *); |
137 | }; | 137 | }; |
138 | 138 | ||
139 | extern struct gmac t1_pm3393_ops; | 139 | extern const struct gmac t1_pm3393_ops; |
140 | extern struct gmac t1_chelsio_mac_ops; | 140 | extern const struct gmac t1_vsc7326_ops; |
141 | extern struct gmac t1_vsc7321_ops; | ||
142 | extern struct gmac t1_vsc7326_ops; | ||
143 | extern struct gmac t1_ixf1010_ops; | ||
144 | extern struct gmac t1_dummy_mac_ops; | ||
145 | 141 | ||
146 | #endif /* _CXGB_GMAC_H_ */ | 142 | #endif /* _CXGB_GMAC_H_ */ |