projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers, firewire: convert fw_node.ref_count from atomic_t to refcount_t
[linux-2.6-microblaze.git]
/
drivers
/
firewire
/
core-topology.c
diff --git
a/drivers/firewire/core-topology.c
b/drivers/firewire/core-topology.c
index
0de8350
..
939d259
100644
(file)
--- a/
drivers/firewire/core-topology.c
+++ b/
drivers/firewire/core-topology.c
@@
-124,7
+124,7
@@
static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
node->initiated_reset = SELF_ID_PHY_INITIATOR(sid);
node->port_count = port_count;
-
atomic
_set(&node->ref_count, 1);
+
refcount
_set(&node->ref_count, 1);
INIT_LIST_HEAD(&node->link);
return node;