diff options
author | Julia Lawall <julia@diku.dk> | 2008-12-25 09:34:25 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-02-24 08:51:29 -0500 |
commit | 291f006efeebeeb2073289e44efb8f97cf157220 (patch) | |
tree | 0ec49d725fe5eac0a25d130a7111c404dbacbc68 /drivers | |
parent | a40bf5591681f707afcf550cdcb4cc1697a29504 (diff) |
firedtv: Use DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED is deprecated. The following makes the change suggested
in Documentation/spinlocks.txt
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/firesat/firesat_1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/firesat/firesat_1394.c b/drivers/media/dvb/firesat/firesat_1394.c index 82bd9786571d..11db62730256 100644 --- a/drivers/media/dvb/firesat/firesat_1394.c +++ b/drivers/media/dvb/firesat/firesat_1394.c | |||
@@ -94,7 +94,7 @@ MODULE_DEVICE_TABLE(ieee1394, firesat_id_table); | |||
94 | 94 | ||
95 | /* list of all firesat devices */ | 95 | /* list of all firesat devices */ |
96 | LIST_HEAD(firesat_list); | 96 | LIST_HEAD(firesat_list); |
97 | spinlock_t firesat_list_lock = SPIN_LOCK_UNLOCKED; | 97 | DEFINE_SPINLOCK(firesat_list_lock); |
98 | 98 | ||
99 | static void fcp_request(struct hpsb_host *host, | 99 | static void fcp_request(struct hpsb_host *host, |
100 | int nodeid, | 100 | int nodeid, |