diff options
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/clip.c | 2 | ||||
-rw-r--r-- | net/atm/lec.c | 2 | ||||
-rw-r--r-- | net/atm/mpc.c | 2 | ||||
-rw-r--r-- | net/atm/signaling.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index ccba24ffb966..876b77f14745 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c | |||
@@ -702,7 +702,7 @@ static struct atm_dev atmarpd_dev = { | |||
702 | .ops = &atmarpd_dev_ops, | 702 | .ops = &atmarpd_dev_ops, |
703 | .type = "arpd", | 703 | .type = "arpd", |
704 | .number = 999, | 704 | .number = 999, |
705 | .lock = SPIN_LOCK_UNLOCKED | 705 | .lock = __SPIN_LOCK_UNLOCKED(atmarpd_dev.lock) |
706 | }; | 706 | }; |
707 | 707 | ||
708 | 708 | ||
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 = { | |||
630 | .ops = &lecdev_ops, | 630 | .ops = &lecdev_ops, |
631 | .type = "lec", | 631 | .type = "lec", |
632 | .number = 999, /* dummy device number */ | 632 | .number = 999, /* dummy device number */ |
633 | .lock = SPIN_LOCK_UNLOCKED | 633 | .lock = __SPIN_LOCK_UNLOCKED(lecatm_dev.lock) |
634 | }; | 634 | }; |
635 | 635 | ||
636 | /* | 636 | /* |
diff --git a/net/atm/mpc.c b/net/atm/mpc.c index 813e08d6dc7c..7c85aa551d5e 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c | |||
@@ -737,7 +737,7 @@ static struct atm_dev mpc_dev = { | |||
737 | .ops = &mpc_ops, | 737 | .ops = &mpc_ops, |
738 | .type = "mpc", | 738 | .type = "mpc", |
739 | .number = 42, | 739 | .number = 42, |
740 | .lock = SPIN_LOCK_UNLOCKED | 740 | .lock = __SPIN_LOCK_UNLOCKED(mpc_dev.lock) |
741 | /* members not explicitly initialised will be 0 */ | 741 | /* members not explicitly initialised will be 0 */ |
742 | }; | 742 | }; |
743 | 743 | ||
diff --git a/net/atm/signaling.c b/net/atm/signaling.c index 31d98b57e1de..d14baaf1f4c3 100644 --- a/net/atm/signaling.c +++ b/net/atm/signaling.c | |||
@@ -256,7 +256,7 @@ static struct atm_dev sigd_dev = { | |||
256 | .ops = &sigd_dev_ops, | 256 | .ops = &sigd_dev_ops, |
257 | .type = "sig", | 257 | .type = "sig", |
258 | .number = 999, | 258 | .number = 999, |
259 | .lock = SPIN_LOCK_UNLOCKED | 259 | .lock = __SPIN_LOCK_UNLOCKED(sigd_dev.lock) |
260 | }; | 260 | }; |
261 | 261 | ||
262 | 262 | ||