diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-09-02 10:29:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-06 16:32:20 -0400 |
commit | dcfc5d787a24b9a20be3e18e3dbbab5280d35e38 (patch) | |
tree | da976087c2112809566f4b9e5736e0ed354554a5 /drivers/net/wan/cycx_main.c | |
parent | adea1ac7effbddbe60a9de6d63462bfe79289e59 (diff) |
wan: make read-only data const
Change several wan drivers to make strings and other initialize
only parameters const.
Compile tested only (with no new warnings)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/cycx_main.c')
-rw-r--r-- | drivers/net/wan/cycx_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/cycx_main.c b/drivers/net/wan/cycx_main.c index a0e8611ad8e8..859dba9b972e 100644 --- a/drivers/net/wan/cycx_main.c +++ b/drivers/net/wan/cycx_main.c | |||
@@ -81,9 +81,9 @@ static irqreturn_t cycx_isr(int irq, void *dev_id); | |||
81 | */ | 81 | */ |
82 | 82 | ||
83 | /* private data */ | 83 | /* private data */ |
84 | static char cycx_drvname[] = "cyclomx"; | 84 | static const char cycx_drvname[] = "cyclomx"; |
85 | static char cycx_fullname[] = "CYCLOM 2X(tm) Sync Card Driver"; | 85 | static const char cycx_fullname[] = "CYCLOM 2X(tm) Sync Card Driver"; |
86 | static char cycx_copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo " | 86 | static const char cycx_copyright[] = "(c) 1998-2003 Arnaldo Carvalho de Melo " |
87 | "<acme@conectiva.com.br>"; | 87 | "<acme@conectiva.com.br>"; |
88 | static int cycx_ncards = CONFIG_CYCX_CARDS; | 88 | static int cycx_ncards = CONFIG_CYCX_CARDS; |
89 | static struct cycx_device *cycx_card_array; /* adapter data space */ | 89 | static struct cycx_device *cycx_card_array; /* adapter data space */ |