aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-09-02 14:29:35 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-06 13:32:20 -0700
commitdcfc5d787a24b9a20be3e18e3dbbab5280d35e38 (patch)
treeda976087c2112809566f4b9e5736e0ed354554a5 /drivers/net/wan/lapbether.c
parentadea1ac7effbddbe60a9de6d63462bfe79289e59 (diff)
downloadkernel_goldelico_gta04-dcfc5d787a24b9a20be3e18e3dbbab5280d35e38.zip
kernel_goldelico_gta04-dcfc5d787a24b9a20be3e18e3dbbab5280d35e38.tar.gz
kernel_goldelico_gta04-dcfc5d787a24b9a20be3e18e3dbbab5280d35e38.tar.bz2
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/lapbether.c')
-rw-r--r--drivers/net/wan/lapbether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c
index 4d4dc38..7f5bb91 100644
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -46,7 +46,7 @@
#include <net/x25device.h>
-static char bcast_addr[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
+static const u8 bcast_addr[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
/* If this number is made larger, check that the temporary string buffer
* in lapbeth_new_device is large enough to store the probe device name.*/