Avoid global variable name conflicts.

Signed-off-by: Stephen Hemminger <[email protected]>
---
 drivers/net/enic/enic_sriov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/enic/enic_sriov.c b/drivers/net/enic/enic_sriov.c
index 43072a2287..29faa31512 100644
--- a/drivers/net/enic/enic_sriov.c
+++ b/drivers/net/enic/enic_sriov.c
@@ -13,7 +13,7 @@ static int enic_check_chan_capability(struct enic *enic);
 static int enic_register_vf(struct enic *enic);
 static void enic_unregister_vf(struct enic *enic);
 
-const char *msg_type_str[ENIC_MBOX_MAX] = {
+static const char *msg_type_str[ENIC_MBOX_MAX] = {
        "VF_CAPABILITY_REQUEST",
        "VF_CAPABILITY_REPLY",
        "VF_REGISTER_REQUEST",
-- 
2.47.3

Reply via email to