[ECONET]: Use macro for spinlock_t definition.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f190055ff5
commit
ca40330248
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue