aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device.c')
-rw-r--r--drivers/firewire/fw-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c
index 4ade867db888..4877cdbc58cc 100644
--- a/drivers/firewire/fw-device.c
+++ b/drivers/firewire/fw-device.c
@@ -453,6 +453,7 @@ static void fw_device_shutdown(struct work_struct *work)
453 idr_remove(&fw_device_idr, minor); 453 idr_remove(&fw_device_idr, minor);
454 up_write(&fw_bus_type.subsys.rwsem); 454 up_write(&fw_bus_type.subsys.rwsem);
455 455
456 fw_device_cdev_remove(device);
456 device_remove_file(&device->device, &config_rom_attribute); 457 device_remove_file(&device->device, &config_rom_attribute);
457 device_for_each_child(&device->device, NULL, shutdown_unit); 458 device_for_each_child(&device->device, NULL, shutdown_unit);
458 device_unregister(&device->device); 459 device_unregister(&device->device);