mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
dc7badba19
commit
88ff6ab4a8
@ -1642,7 +1642,7 @@ static int __init ipu_idmac_init(struct ipu *ipu)
|
||||
return dma_async_device_register(&idmac->dma);
|
||||
}
|
||||
|
||||
static void __exit ipu_idmac_exit(struct ipu *ipu)
|
||||
static void ipu_idmac_exit(struct ipu *ipu)
|
||||
{
|
||||
int i;
|
||||
struct idmac *idmac = &ipu->idmac;
|
||||
|
Loading…
Reference in New Issue
Block a user