]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/firewire/fw-device.c
firewire: fix small memory leak at module removal
[linux-2.6-omap-h63xx.git] / drivers / firewire / fw-device.c
index 6b9be42c7b98f4ef8c99a1806f2b81ed8021885a..31b6c74d34df277bd71c9be80eafe69b9a5e4cc4 100644 (file)
@@ -617,7 +617,7 @@ static int shutdown_unit(struct device *device, void *data)
  */
 DECLARE_RWSEM(fw_device_rwsem);
 
-static DEFINE_IDR(fw_device_idr);
+DEFINE_IDR(fw_device_idr);
 int fw_cdev_major;
 
 struct fw_device *fw_device_get_by_devt(dev_t devt)