diff options
Diffstat (limited to 'drivers/firewire/core-topology.c')
-rw-r--r-- | drivers/firewire/core-topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index 0de83508f321..939d259ddf19 100644 --- 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) | |||
124 | node->initiated_reset = SELF_ID_PHY_INITIATOR(sid); | 124 | node->initiated_reset = SELF_ID_PHY_INITIATOR(sid); |
125 | node->port_count = port_count; | 125 | node->port_count = port_count; |
126 | 126 | ||
127 | atomic_set(&node->ref_count, 1); | 127 | refcount_set(&node->ref_count, 1); |
128 | INIT_LIST_HEAD(&node->link); | 128 | INIT_LIST_HEAD(&node->link); |
129 | 129 | ||
130 | return node; | 130 | return node; |