summaryrefslogtreecommitdiff
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-07-09 13:56:56 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-09 13:56:56 +0400
commit42c8b11e284fe3186e27555d1adb7d4b77398e1b (patch)
tree7e59d46af5acceea8a8fd08c0b5e246c800b06c1 /drivers/net/benet
parenta48332f803093d5e3d431a5a1f595698911d1145 (diff)
downloadlinux-42c8b11e284fe3186e27555d1adb7d4b77398e1b.tar.xz
benet: Add missing comma between constant string array
Multiple quoted strings are concatenated without comma separators. Make the arrays const while there. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r--drivers/net/benet/be_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 696f634b7e38..4ebd7000b0cf 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -44,7 +44,7 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = {
};
MODULE_DEVICE_TABLE(pci, be_dev_ids);
/* UE Status Low CSR */
-static char *ue_status_low_desc[] = {
+static const char * const ue_status_low_desc[] = {
"CEV",
"CTX",
"DBUF",
@@ -79,7 +79,7 @@ static char *ue_status_low_desc[] = {
"MPU_INTPEND"
};
/* UE Status High CSR */
-static char *ue_status_hi_desc[] = {
+static const char * const ue_status_hi_desc[] = {
"LPCMEMHOST",
"MGMT_MAC",
"PCS0ONLINE",
@@ -103,7 +103,7 @@ static char *ue_status_hi_desc[] = {
"HOST7",
"HOST8",
"HOST9",
- "NETC"
+ "NETC",
"Unknown",
"Unknown",
"Unknown",