mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
iop-adma: enable module removal
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
0d603f611d
commit
630738b9a5
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user