mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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:
parent
a40bf55916
commit
291f006efe
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue