diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-01-04 16:56:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-04 16:56:08 -0500 |
commit | ca4033024858fcbd392465ba9cbf4c838aedfb58 (patch) | |
tree | 1cc64bc39d641ee033408ab1f22b612352a69331 /net | |
parent | f190055ff5c08a877d3e1ac2e0300fd92c264b06 (diff) |
[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>
Diffstat (limited to 'net')
-rw-r--r-- | net/econet/af_econet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index 4fc245243cca..c792994d7952 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c | |||
@@ -57,7 +57,7 @@ static struct net_device *net2dev_map[256]; | |||
57 | #define EC_PORT_IP 0xd2 | 57 | #define EC_PORT_IP 0xd2 |
58 | 58 | ||
59 | #ifdef CONFIG_ECONET_AUNUDP | 59 | #ifdef CONFIG_ECONET_AUNUDP |
60 | static spinlock_t aun_queue_lock; | 60 | static DEFINE_SPINLOCK(aun_queue_lock); |
61 | static struct socket *udpsock; | 61 | static struct socket *udpsock; |
62 | #define AUN_PORT 0x8000 | 62 | #define AUN_PORT 0x8000 |
63 | 63 | ||