drivers: make struct of networking operations const
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 21 Mar 2016 17:53:24 +0000 (10:53 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:01:37 +0000 (19:01 +0100)
commit89b890df3fbc12f5349d8fc84acbe46f8e79ff2d
treef24ceb5409f1327817acf3542119223e8b37f2ad
parent65ca78fdf9a684743bfca278cf1fcfea4603931d
drivers: make struct of networking operations const

This structure has immutable function pointers.
Also fix indentation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/bonding/rte_eth_bond_private.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/mpipe/mpipe_tilegx.c
drivers/net/nfp/nfp_net.c
drivers/net/szedata2/rte_eth_szedata2.c