diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:20 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:20 -0500 |
commit | 630738b9a52bee40cba685f4ff43fbbc28f2e1ff (patch) | |
tree | c90ac1fe356e6cdcfc332a2217246e0f319fcadc /drivers/dma | |
parent | 0d603f611d6515049fbceb0267ded43c33b95451 (diff) |
iop-adma: enable module removal
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/iop-adma.c | 4 |
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 | ||
1418 | static void __exit iop_adma_exit (void) | 1416 | static 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 | } |
1423 | module_exit(iop_adma_exit); | 1421 | module_exit(iop_adma_exit); |
1424 | #endif | ||
1425 | |||
1426 | module_init(iop_adma_init); | 1422 | module_init(iop_adma_init); |
1427 | 1423 | ||
1428 | MODULE_AUTHOR("Intel Corporation"); | 1424 | MODULE_AUTHOR("Intel Corporation"); |