i40e/i40evf: Fix compile issue related to const string
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 28 Sep 2015 18:12:31 +0000 (14:12 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Oct 2015 11:38:35 +0000 (04:38 -0700)
commit4e68adfeb91d684e5c7a0c6305af872120c71f23
tree97032042e904aee8db0e7181871a3f3ec6c56b5d
parent6dec101765e442fc7f46205acdb2cf3b88879f16
i40e/i40evf: Fix compile issue related to const string

Add const to functions that return strings that aren't going to be
modified. This addresses some reported compile complaints.

Change-ID: Ic56b1e814ab4d23a50480e7fdec652445f776ee8
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_nvm.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h
drivers/net/ethernet/intel/i40evf/i40e_common.c
drivers/net/ethernet/intel/i40evf/i40e_prototype.h