aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-12 19:53:37 -0400
committerVinod Koul <vinod.koul@intel.com>2013-04-15 00:21:18 -0400
commit88ff6ab4a87bb736c1d900ac638f0329aca7d0c0 (patch)
treedeeac703ee1c1deb567e3032e8f672ceaa495d05 /drivers/dma
parentdc7badba1942270a7695ef380853abcbce725a53 (diff)
dma: ipu: ipu_idmac: Fix section mismatch
Since commit 84c1e63c12 (dma: Remove erroneous __exit and __exit_p() references) the following section mismatch happens: WARNING: drivers/built-in.o(.text+0x20f94): Section mismatch in reference from the function ipu_remove() to the function .exit.text:ipu_idmac_exit() The function ipu_remove() references a function in an exit section. Often the function ipu_idmac_exit() has valid usage outside the exit section and the fix is to remove the __exit annotation of ipu_idmac_exit. Remove the '__exit' annotation from ipu_idmac_exit in order to fix it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ipu/ipu_idmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c
index d6d5d7eb3414..d39c2cd0795d 100644
--- a/drivers/dma/ipu/ipu_idmac.c
+++ b/drivers/dma/ipu/ipu_idmac.c
@@ -1642,7 +1642,7 @@ static int __init ipu_idmac_init(struct ipu *ipu)
1642 return dma_async_device_register(&idmac->dma); 1642 return dma_async_device_register(&idmac->dma);
1643} 1643}
1644 1644
1645static void __exit ipu_idmac_exit(struct ipu *ipu) 1645static void ipu_idmac_exit(struct ipu *ipu)
1646{ 1646{
1647 int i; 1647 int i;
1648 struct idmac *idmac = &ipu->idmac; 1648 struct idmac *idmac = &ipu->idmac;