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>
This commit is contained in:
Родитель
a40bf55916
Коммит
291f006efe
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче