net: thunderx: Make hfunc variable const type in nicvf_set_rxfh()
authorRobert Richter <rrichter@cavium.com>
Wed, 11 Jan 2017 17:04:32 +0000 (18:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jan 2017 21:12:01 +0000 (16:12 -0500)
commit171d87aca0da1fab6a15b96ad8e298216a5951b0
tree24b72cf2efb394164ef76e6eeae85ac8616eb3f5
parent60dce04b81424940a3183c8e7e81e1234a27e906
net: thunderx: Make hfunc variable const type in nicvf_set_rxfh()

>From struct ethtool_ops:

        int     (*set_rxfh)(struct net_device *, const u32 *indir,
                            const u8 *key, const u8 hfunc);

Change function arg of hfunc to const type.

V2: Fixed indentation.

Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c