ChangeSet 1.1982.80.36, 2005/02/23 17:17:28-05:00, [EMAIL PROTECTED]

        Move hpsb_unregister_protocol, which fixes a hang on rmmod
        experienced by Parag Warudkar <[EMAIL PROTECTED]>
        
        Signed-off-by: Jody McIntyre <[EMAIL PROTECTED]>



 raw1394.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c
--- a/drivers/ieee1394/raw1394.c        2005-03-28 23:08:22 -08:00
+++ b/drivers/ieee1394/raw1394.c        2005-03-28 23:08:22 -08:00
@@ -2945,10 +2945,10 @@
 {
        class_simple_device_remove(MKDEV(
                IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16));
-       hpsb_unregister_protocol(&raw1394_driver);
        cdev_del(&raw1394_cdev);
        devfs_remove(RAW1394_DEVICE_NAME);
        hpsb_unregister_highlevel(&raw1394_highlevel);
+       hpsb_unregister_protocol(&raw1394_driver);
 }
 
 module_init(init_raw1394);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to