mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
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>
This commit is contained in:
parent
149f1d5c8d
commit
3e2e613f5f
@ -2125,7 +2125,7 @@ static int __devexit omap_system_dma_remove(struct platform_device *pdev)
|
|||||||
|
|
||||||
static struct platform_driver omap_system_dma_driver = {
|
static struct platform_driver omap_system_dma_driver = {
|
||||||
.probe = omap_system_dma_probe,
|
.probe = omap_system_dma_probe,
|
||||||
.remove = omap_system_dma_remove,
|
.remove = __devexit_p(omap_system_dma_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "omap_dma_system"
|
.name = "omap_dma_system"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user