aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:20 -0500
committerDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:20 -0500
commit630738b9a52bee40cba685f4ff43fbbc28f2e1ff (patch)
treec90ac1fe356e6cdcfc332a2217246e0f319fcadc /drivers/dma/iop-adma.c
parent0d603f611d6515049fbceb0267ded43c33b95451 (diff)
iop-adma: enable module removal
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
-rw-r--r--drivers/dma/iop-adma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index e82e39e5da3b..ea5440dd10dc 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -1413,16 +1413,12 @@ static int __init iop_adma_init (void)
1413 return platform_driver_register(&iop_adma_driver); 1413 return platform_driver_register(&iop_adma_driver);
1414} 1414}
1415 1415
1416/* it's currently unsafe to unload this module */
1417#if 0
1418static void __exit iop_adma_exit (void) 1416static void __exit iop_adma_exit (void)
1419{ 1417{
1420 platform_driver_unregister(&iop_adma_driver); 1418 platform_driver_unregister(&iop_adma_driver);
1421 return; 1419 return;
1422} 1420}
1423module_exit(iop_adma_exit); 1421module_exit(iop_adma_exit);
1424#endif
1425
1426module_init(iop_adma_init); 1422module_init(iop_adma_init);
1427 1423
1428MODULE_AUTHOR("Intel Corporation"); 1424MODULE_AUTHOR("Intel Corporation");