Commit 630738b9 authored by Dan Williams's avatar Dan Williams

iop-adma: enable module removal

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 0d603f61
...@@ -1413,16 +1413,12 @@ static int __init iop_adma_init (void) ...@@ -1413,16 +1413,12 @@ static int __init iop_adma_init (void)
return platform_driver_register(&iop_adma_driver); return platform_driver_register(&iop_adma_driver);
} }
/* it's currently unsafe to unload this module */
#if 0
static void __exit iop_adma_exit (void) static void __exit iop_adma_exit (void)
{ {
platform_driver_unregister(&iop_adma_driver); platform_driver_unregister(&iop_adma_driver);
return; return;
} }
module_exit(iop_adma_exit); module_exit(iop_adma_exit);
#endif
module_init(iop_adma_init); module_init(iop_adma_init);
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
......
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