X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=drivers%2Fnet%2Fplip.c;fp=drivers%2Fnet%2Fplip.c;h=87ee3271b17de71f85fa99505bcb706ef276e164;hp=d4449d6d1fe4f1183aad61dfd3fa21eca39e5b55;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c diff --git a/drivers/net/plip.c b/drivers/net/plip.c index d4449d6d1..87ee3271b 100644 --- a/drivers/net/plip.c +++ b/drivers/net/plip.c @@ -123,7 +123,7 @@ static const char version[] = "NET3 PLIP version 2.4-parport gniibe@mri.co.jp\n" #ifndef NET_DEBUG #define NET_DEBUG 1 #endif -static const unsigned int net_debug = NET_DEBUG; +static unsigned int net_debug = NET_DEBUG; #define ENABLE(irq) if (irq != -1) enable_irq(irq) #define DISABLE(irq) if (irq != -1) disable_irq(irq) @@ -351,7 +351,7 @@ static int plip_bh_timeout_error(struct net_device *dev, struct net_local *nl, typedef int (*plip_func)(struct net_device *dev, struct net_local *nl, struct plip_local *snd, struct plip_local *rcv); -static const plip_func connection_state_table[] = +static plip_func connection_state_table[] = { plip_none, plip_receive_packet,