Commit 15ef5034 authored by Ben Collins's avatar Ben Collins

[IEEE1394]: Use the right length when deregistering raw1394 char device.

parent 8d6a7478
...@@ -2682,7 +2682,7 @@ static int __init init_raw1394(void) ...@@ -2682,7 +2682,7 @@ static int __init init_raw1394(void)
static void __exit cleanup_raw1394(void) static void __exit cleanup_raw1394(void)
{ {
hpsb_unregister_protocol(&raw1394_driver); hpsb_unregister_protocol(&raw1394_driver);
cdev_unmap(IEEE1394_RAW1394_DEV, 16); cdev_unmap(IEEE1394_RAW1394_DEV, 1);
cdev_del(&raw1394_cdev); cdev_del(&raw1394_cdev);
devfs_remove(RAW1394_DEVICE_NAME); devfs_remove(RAW1394_DEVICE_NAME);
hpsb_unregister_highlevel(&raw1394_highlevel); hpsb_unregister_highlevel(&raw1394_highlevel);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment