dma: ipu: ipu_idmac: Fix section mismatch
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 12 Mar 2013 23:53:37 +0000 (20:53 -0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Apr 2013 04:21:18 +0000 (09:51 +0530)
commit88ff6ab4a87bb736c1d900ac638f0329aca7d0c0
treedeeac703ee1c1deb567e3032e8f672ceaa495d05
parentdc7badba1942270a7695ef380853abcbce725a53
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>
drivers/dma/ipu/ipu_idmac.c