From: YOSHIFUJI Hideaki Date: Wed, 4 Jan 2006 21:56:08 +0000 (-0800) Subject: [ECONET]: Use macro for spinlock_t definition. X-Git-Tag: v2.6.16-rc1~474^2~22^2~9^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ca4033024858fcbd392465ba9cbf4c838aedfb58;p=linux-2.6-omap-h63xx.git [ECONET]: Use macro for spinlock_t definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index 4fc245243cc..c792994d795 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c @@ -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