diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-09-02 16:29:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-06 22:32:20 +0200 |
commit | dcfc5d787a24b9a20be3e18e3dbbab5280d35e38 (patch) | |
tree | da976087c2112809566f4b9e5736e0ed354554a5 /drivers/net/wan/z85230.c | |
parent | r8169: fix rx checksum offload (diff) | |
download | linux-dcfc5d787a24b9a20be3e18e3dbbab5280d35e38.tar.xz linux-dcfc5d787a24b9a20be3e18e3dbbab5280d35e38.zip |
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" |