]> err.no Git - linux-2.6/commitdiff
[ECONET]: Use macro for spinlock_t definition.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jan 2006 21:56:08 +0000 (13:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2006 21:56:08 +0000 (13:56 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/econet/af_econet.c

index 4fc245243ccaf19807bfaf5e9f45feb7f1e6d264..c792994d795257a90aaa87ad33d305db31613dd2 100644 (file)
@@ -57,7 +57,7 @@ static struct net_device *net2dev_map[256];
 #define EC_PORT_IP     0xd2
 
 #ifdef CONFIG_ECONET_AUNUDP
-static spinlock_t aun_queue_lock;
+static DEFINE_SPINLOCK(aun_queue_lock);
 static struct socket *udpsock;
 #define AUN_PORT       0x8000