Commit ca403302 authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller

[ECONET]: Use macro for spinlock_t definition.

Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f190055f
...@@ -57,7 +57,7 @@ static struct net_device *net2dev_map[256]; ...@@ -57,7 +57,7 @@ static struct net_device *net2dev_map[256];
#define EC_PORT_IP 0xd2 #define EC_PORT_IP 0xd2
#ifdef CONFIG_ECONET_AUNUDP #ifdef CONFIG_ECONET_AUNUDP
static spinlock_t aun_queue_lock; static DEFINE_SPINLOCK(aun_queue_lock);
static struct socket *udpsock; static struct socket *udpsock;
#define AUN_PORT 0x8000 #define AUN_PORT 0x8000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment