diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:41 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:03:08 +0100 |
commit | 97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc (patch) | |
tree | 7f405323e9b6ccd690b7673cc4495d35e5926a06 /drivers/firewire/fw-device.c | |
parent | 1da0c93b31bb8f374a22f4e20dab02fd79f6c7e6 (diff) |
firewire: Add a bus reset event type for fw-device-cdev.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device.c')
-rw-r--r-- | drivers/firewire/fw-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c index 5599265da4a6..ccc05e511a4f 100644 --- a/drivers/firewire/fw-device.c +++ b/drivers/firewire/fw-device.c @@ -535,6 +535,7 @@ static void fw_device_update(struct work_struct *work) struct fw_device *device = container_of(work, struct fw_device, work.work); + fw_device_cdev_update(device); device_for_each_child(&device->device, NULL, update_unit); } @@ -564,6 +565,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event) device->node = fw_node_get(node); device->node_id = node->node_id; device->generation = card->generation; + INIT_LIST_HEAD(&device->client_list); /* Set the node data to point back to this device so * FW_NODE_UPDATED callbacks can update the node_id |