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/z85230.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/z85230.c')
-rw-r--r-- | drivers/net/wan/z85230.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/z85230.c b/drivers/net/wan/z85230.c index fbf5e843d48c..93956861ea21 100644 --- a/drivers/net/wan/z85230.c +++ b/drivers/net/wan/z85230.c | |||
@@ -766,7 +766,7 @@ irqreturn_t z8530_interrupt(int irq, void *dev_id) | |||
766 | 766 | ||
767 | EXPORT_SYMBOL(z8530_interrupt); | 767 | EXPORT_SYMBOL(z8530_interrupt); |
768 | 768 | ||
769 | static char reg_init[16]= | 769 | static const u8 reg_init[16]= |
770 | { | 770 | { |
771 | 0,0,0,0, | 771 | 0,0,0,0, |
772 | 0,0,0,0, | 772 | 0,0,0,0, |
@@ -1206,7 +1206,7 @@ EXPORT_SYMBOL(z8530_sync_txdma_close); | |||
1206 | * it exists... | 1206 | * it exists... |
1207 | */ | 1207 | */ |
1208 | 1208 | ||
1209 | static char *z8530_type_name[]={ | 1209 | static const char *z8530_type_name[]={ |
1210 | "Z8530", | 1210 | "Z8530", |
1211 | "Z85C30", | 1211 | "Z85C30", |
1212 | "Z85230" | 1212 | "Z85230" |