summaryrefslogtreecommitdiffstats
path: root/net/atm/lec.c
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-04-26 10:37:44 +0200
committerDavid S. Miller <davem@davemloft.net>2007-04-26 10:37:44 +0200
commit4ef8d0aeafda8388dd51f2671b7059192b1e5a5f (patch)
tree47886cdc9f20fb601bdace40a037335ceaa404cb /net/atm/lec.c
parent[IRDA] irda_device_dongle_init: fix kzalloc(GFP_KERNEL) in spinlock (diff)
downloadlinux-4ef8d0aeafda8388dd51f2671b7059192b1e5a5f.tar.xz
linux-4ef8d0aeafda8388dd51f2671b7059192b1e5a5f.zip
[NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r--net/atm/lec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 6d63afa5764d..4dc5f2b8c43c 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -630,7 +630,7 @@ static struct atm_dev lecatm_dev = {
.ops = &lecdev_ops,
.type = "lec",
.number = 999, /* dummy device number */
- .lock = SPIN_LOCK_UNLOCKED
+ .lock = __SPIN_LOCK_UNLOCKED(lecatm_dev.lock)
};
/*