]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/dma/imx-dma.c
dma: Remove erroneous __exit and __exit_p() references
[karo-tx-linux.git] / drivers / dma / imx-dma.c
index 70b8975d107ee185e9b4b3bcf6e220ff9b4d555e..7d08ab7ff444b2e44049ac4a1f55ac4c80475cff 100644 (file)
@@ -1145,7 +1145,7 @@ err:
        return ret;
 }
 
-static int __exit imxdma_remove(struct platform_device *pdev)
+static int imxdma_remove(struct platform_device *pdev)
 {
        struct imxdma_engine *imxdma = platform_get_drvdata(pdev);
 
@@ -1162,7 +1162,7 @@ static struct platform_driver imxdma_driver = {
                .name   = "imx-dma",
        },
        .id_table       = imx_dma_devtype,
-       .remove         = __exit_p(imxdma_remove),
+       .remove         = imxdma_remove,
 };
 
 static int __init imxdma_module_init(void)