[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 4fc2452..c792994 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