summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-28 11:09:45 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-28 11:09:45 +0000
commit09b3e655d50c7adf27c617cd79af8c84d4e6df77 (patch)
tree31b6717cfd95d04731dee9390bd7a3589b17a89a
parenta260bd77cff7bac3cc0eb5e138c12bfb235ec700 (diff)
Notes
-rw-r--r--sys/dev/sfxge/common/efx_mon.c2
-rw-r--r--sys/dev/sfxge/common/efx_port.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/efx_mon.c b/sys/dev/sfxge/common/efx_mon.c
index c07503c086e1..5cbb4552b605 100644
--- a/sys/dev/sfxge/common/efx_mon.c
+++ b/sys/dev/sfxge/common/efx_mon.c
@@ -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",
diff --git a/sys/dev/sfxge/common/efx_port.c b/sys/dev/sfxge/common/efx_port.c
index 440f0a0c3756..febbfa2e0d3d 100644
--- a/sys/dev/sfxge/common/efx_port.c
+++ b/sys/dev/sfxge/common/efx_port.c
@@ -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",