From: Dan Williams Date: Tue, 6 Jan 2009 18:38:20 +0000 (-0700) Subject: iop-adma: enable module removal X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=630738b9a52bee40cba685f4ff43fbbc28f2e1ff;p=linux-beck.git iop-adma: enable module removal Signed-off-by: Dan Williams --- 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) 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");