chelsio: cxgb4: fix sparse warning

this patch fixes following sparse warning:

cxgb4_dcb.c:25:6: warning: symbol 'dcb_ver_array' was not declared. Should it be static?

Alongside making it const.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Lad, Prabhakar 2015-02-05 15:20:09 +00:00 committed by David S. Miller
parent da19fcd0d8
commit 4a95b6d0a7
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
/* DCBx version control
*/
char *dcb_ver_array[] = {
static const char * const dcb_ver_array[] = {
"Unknown",
"DCBx-CIN",
"DCBx-CEE 1.01",