You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Jeff Garzik
parent
4c247db114
commit
459e536b1d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user