diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2014-05-14 21:01:23 -0400 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2014-05-18 20:30:04 -0400 |
| commit | 33cb0fa7888510b5bd2096352b200cfe29db10fe (patch) | |
| tree | f949b316d558f52fb740f349570e94684a2ff1da /include/linux | |
| parent | 61d88c6811f216de4ec26aafe24e650dc1aeb00e (diff) | |
ethtool, be2net: constify array pointer parameters to ethtool_ops::set_rxfh
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ethtool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index de687a97c6e7..874fde01d398 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
| @@ -246,7 +246,8 @@ struct ethtool_ops { | |||
| 246 | u32 (*get_rxfh_key_size)(struct net_device *); | 246 | u32 (*get_rxfh_key_size)(struct net_device *); |
| 247 | u32 (*get_rxfh_indir_size)(struct net_device *); | 247 | u32 (*get_rxfh_indir_size)(struct net_device *); |
| 248 | int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key); | 248 | int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key); |
| 249 | int (*set_rxfh)(struct net_device *, u32 *indir, u8 *key); | 249 | int (*set_rxfh)(struct net_device *, const u32 *indir, |
| 250 | const u8 *key); | ||
| 250 | int (*get_rxfh_indir)(struct net_device *, u32 *); | 251 | int (*get_rxfh_indir)(struct net_device *, u32 *); |
| 251 | int (*set_rxfh_indir)(struct net_device *, const u32 *); | 252 | int (*set_rxfh_indir)(struct net_device *, const u32 *); |
| 252 | void (*get_channels)(struct net_device *, struct ethtool_channels *); | 253 | void (*get_channels)(struct net_device *, struct ethtool_channels *); |
