diff options
author | Jon Mason <jon.mason@exar.com> | 2010-12-10 15:40:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-11 11:46:36 -0800 |
commit | c0dbf37e78c5c1e3e6cfeb39de30518fdde33e83 (patch) | |
tree | be7917ef93b65a2f0bd5b5b5efeca7caa6ccc095 /drivers/net/s2io.c | |
parent | 1853e2e15dc95ff3430530941b5856581251ef70 (diff) |
s2io: make strings at tables const
Put immutable data in read/only section.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index a6d3eaf44863..6a87b8c69b78 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -91,11 +91,11 @@ #define DRV_VERSION "2.0.26.27" /* S2io Driver name & version. */ -static char s2io_driver_name[] = "Neterion"; -static char s2io_driver_version[] = DRV_VERSION; +static const char s2io_driver_name[] = "Neterion"; +static const char s2io_driver_version[] = DRV_VERSION; -static int rxd_size[2] = {32, 48}; -static int rxd_count[2] = {127, 85}; +static const int rxd_size[2] = {32, 48}; +static const int rxd_count[2] = {127, 85}; static inline int RXD_IS_UP2DT(struct RxD_t *rxdp) { |