fm10k/base: clean up namespace pollution
authorXiao Wang <xiao.w.wang@intel.com>
Fri, 19 Feb 2016 11:06:50 +0000 (19:06 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:51:43 +0000 (18:51 +0100)
commit894b6cba877ff94b06ac4f5a929f5902e3f06bf2
tree78eda98077ca1faff44f481f2b2a3187229fcf6e
parent7d9bf52c87a9f7ea017a9e0f82343d14e9cd724e
fm10k/base: clean up namespace pollution

Make functions that are only referenced locally static.

Wrap fm10k_msg_data fm10k_iov_msg_data_pf[] in the new ifndef
NO_DEFAULT_SRIOV_MSG_HANDLERS so that drivers with custom SR-IOV
message handlers can strip it.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Tested-by: Heng Ding <hengx.ding@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/base/fm10k_pf.c
drivers/net/fm10k/base/fm10k_pf.h
drivers/net/fm10k/base/fm10k_tlv.c
drivers/net/fm10k/base/fm10k_tlv.h
drivers/net/fm10k/base/fm10k_vf.c