firedtv: Use DEFINE_SPINLOCK
authorJulia Lawall <julia@diku.dk>
Thu, 25 Dec 2008 14:34:25 +0000 (15:34 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Feb 2009 13:51:29 +0000 (14:51 +0100)
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>
drivers/media/dvb/firesat/firesat_1394.c

index 82bd9786571d229ec159d8e596778a97552eca05..11db62730256ef381f128614524d8d4f778097e7 100644 (file)
@@ -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,