OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40bf55
)
firedtv: Use DEFINE_SPINLOCK
author
Julia Lawall
<julia@diku.dk>
Thu, 25 Dec 2008 14:34:25 +0000
(15:34 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/firesat/firesat_1394.c
b/drivers/media/dvb/firesat/firesat_1394.c
index
82bd978
..
11db627
100644
(file)
--- 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,