Browse Source

iop-adma: enable module removal

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Dan Williams 16 năm trước cách đây
mục cha
commit
630738b9a5
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      drivers/dma/iop-adma.c

+ 0 - 4
drivers/dma/iop-adma.c

@@ -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");