aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/dma.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-23 14:58:08 -0800
committerTony Lindgren <tony@atomide.com>2012-02-24 08:24:46 -0800
commit3e2e613f5f1c5d8b30e6ce49954143bdfaa03dd5 (patch)
treeba7cfe9465a757d4def7b7b2dcbbe1aff1740494 /arch/arm/plat-omap/dma.c
parent149f1d5c8d2fd6879cdf93ca70f1cb745e698a1e (diff)
ARM: OMAP: Fix devexit for dma when CONFIG_HOTPLUG is not set
Otherwise we get: `omap_system_dma_remove' referenced in section `.data' of arch/arm/plat-omap/built-in.o: defined in discarded section `.devexit.text' of arch/arm/plat-omap/built-in.o Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/dma.c')
-rw-r--r--arch/arm/plat-omap/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 002fb4d96bb..cb856fe0434 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -2125,7 +2125,7 @@ static int __devexit omap_system_dma_remove(struct platform_device *pdev)
static struct platform_driver omap_system_dma_driver = {
.probe = omap_system_dma_probe,
- .remove = omap_system_dma_remove,
+ .remove = __devexit_p(omap_system_dma_remove),
.driver = {
.name = "omap_dma_system"
},