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:
@@ -581,7 +581,7 @@ static int setRxCsum(struct net_device *dev, u32 data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct ethtool_ops SkGeEthtoolOps = {
|
||||
const struct ethtool_ops SkGeEthtoolOps = {
|
||||
.get_settings = getSettings,
|
||||
.set_settings = setSettings,
|
||||
.get_drvinfo = getDriverInfo,
|
||||
|
||||
@@ -248,7 +248,7 @@ static void DumpLong(char*, int);
|
||||
|
||||
/* global variables *********************************************************/
|
||||
static SK_BOOL DoPrintInterfaceChange = SK_TRUE;
|
||||
extern struct ethtool_ops SkGeEthtoolOps;
|
||||
extern const struct ethtool_ops SkGeEthtoolOps;
|
||||
|
||||
/* local variables **********************************************************/
|
||||
static uintptr_t TxQueueAddr[SK_MAX_MACS][2] = {{0x680, 0x600},{0x780, 0x700}};
|
||||
|
||||
Reference in New Issue
Block a user