iop-adma: enable module removal
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/iop-adma.c

index e82e39e5da3b4527bc2c20edbeafb20a8f21afd6..ea5440dd10dc1ffb56dda5393d51f388e02ca87b 100644 (file)
@@ -1413,16 +1413,12 @@ static int __init iop_adma_init (void)
        return platform_driver_register(&iop_adma_driver);
 }
 
-/* it's currently unsafe to unload this module */
-#if 0
 static void __exit iop_adma_exit (void)
 {
        platform_driver_unregister(&iop_adma_driver);
        return;
 }
 module_exit(iop_adma_exit);
-#endif
-
 module_init(iop_adma_init);
 
 MODULE_AUTHOR("Intel Corporation");