diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-09-02 14:29:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-06 13:32:20 -0700 |
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) EXPORT_SYMBOL(z8530_interrupt); -static char reg_init[16]= +static const u8 reg_init[16]= { 0,0,0,0, 0,0,0,0, @@ -1206,7 +1206,7 @@ EXPORT_SYMBOL(z8530_sync_txdma_close); * it exists... */ -static char *z8530_type_name[]={ +static const char *z8530_type_name[]={ "Z8530", "Z85C30", "Z85230" |