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
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -1546,7 +1546,7 @@ static void cp_get_ethtool_stats (struct net_device *dev,
|
||||
pci_free_consistent(cp->pdev, sizeof(*nic_stats), nic_stats, dma);
|
||||
}
|
||||
|
||||
static struct ethtool_ops cp_ethtool_ops = {
|
||||
static const struct ethtool_ops cp_ethtool_ops = {
|
||||
.get_drvinfo = cp_get_drvinfo,
|
||||
.get_regs_len = cp_get_regs_len,
|
||||
.get_stats_count = cp_get_stats_count,
|
||||
|
||||
Reference in New Issue
Block a user