Skip to content

Commit

Permalink
firedtv: Use DEFINE_SPINLOCK
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julia Lawall authored and Stefan Richter committed Feb 24, 2009
1 parent a40bf55 commit 291f006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/firesat/firesat_1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 291f006

Please sign in to comment.