diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c
index 4fc245243ccaf19807bfaf5e9f45feb7f1e6d264..c792994d795257a90aaa87ad33d305db31613dd2 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