|
@@ -2487,10 +2487,8 @@ static int __exit atmci_remove(struct platform_device *pdev)
|
|
atmci_readl(host, ATMCI_SR);
|
|
atmci_readl(host, ATMCI_SR);
|
|
clk_disable(host->mck);
|
|
clk_disable(host->mck);
|
|
|
|
|
|
-#ifdef CONFIG_MMC_ATMELMCI_DMA
|
|
|
|
if (host->dma.chan)
|
|
if (host->dma.chan)
|
|
dma_release_channel(host->dma.chan);
|
|
dma_release_channel(host->dma.chan);
|
|
-#endif
|
|
|
|
|
|
|
|
free_irq(platform_get_irq(pdev, 0), host);
|
|
free_irq(platform_get_irq(pdev, 0), host);
|
|
iounmap(host->regs);
|
|
iounmap(host->regs);
|