sfxge(4): make strings array pointer itself immutable

Found by DPDK checkpatches.sh

Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
This commit is contained in:
Andrew Rybchenko 2016-12-28 11:09:45 +00:00
parent a260bd77cf
commit 09b3e655d5
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
#if EFSYS_OPT_NAMES
static const char *__efx_mon_name[] = {
static const char * const __efx_mon_name[] = {
"",
"sfx90x0",
"sfx91x0",

View File

@ -172,7 +172,7 @@ fail1:
#if EFSYS_OPT_NAMES
static const char *__efx_loopback_type_name[] = {
static const char * const __efx_loopback_type_name[] = {
"OFF",
"DATA",
"GMAC",