]> err.no Git - linux-2.6/commit
firewire: Switch cdev code over to use register_chrdev and keep a list of devices.
authorKristian Høgsberg <krh@redhat.com>
Wed, 7 Mar 2007 17:12:44 +0000 (12:12 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:03:09 +0000 (22:03 +0100)
commita3aca3dabbcf00f2088d472f27755c29acaa992e
treec6b23c1d51a7eab5bee4137d344264974ddfc432
parent344bbc4de14e70d03f09bff04bb7d161b8a0d28c
firewire: Switch cdev code over to use register_chrdev and keep a list of devices.

The old mechanism kept a struct cdev for each fw device, but fops->release
would reference this struct after the device got freed in some cases.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device.c
drivers/firewire/fw-device.h
drivers/firewire/fw-transaction.c