summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-12-25 17:34:25 +0300
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-02-24 16:51:29 +0300
commit291f006efeebeeb2073289e44efb8f97cf157220 (patch)
tree0ec49d725fe5eac0a25d130a7111c404dbacbc68
parenta40bf5591681f707afcf550cdcb4cc1697a29504 (diff)
downloadlinux-291f006efeebeeb2073289e44efb8f97cf157220.tar.xz
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>
-rw-r--r--drivers/media/dvb/firesat/firesat_1394.c2
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);
/* list of all firesat devices */
LIST_HEAD(firesat_list);
-spinlock_t firesat_list_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(firesat_list_lock);
static void fcp_request(struct hpsb_host *host,
int nodeid,