MLK-11848-2 dma: imx-sdma: add __init for probe()
authorRobin Gong <b38343@freescale.com>
Tue, 10 Nov 2015 10:29:01 +0000 (18:29 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:13 +0000 (14:49 -0500)
commit2da8a1517a83ae148582ec27f79d46cec284aa08
treecbdbf8b43fe033d5edc1783ffa1dcc43f65cb1c2
parentb01cbfc09a00f0efc7ce5300ca13105ee254d895
MLK-11848-2 dma: imx-sdma: add __init for probe()

Fix buiding error with GCC 4.6.2:

WARNING: drivers/dma/built-in.o(.text+0xefac): Section mismatch in reference from the function sdma_probe() to the function .init.text:sdma_event_remap.isra.21()
The function sdma_probe() references
the function __init sdma_event_remap.isra.21().
This is often because sdma_probe lacks a __init
annotation or the annotation of sdma_event_remap.isra.21 is wrong.

Signed-off-by: Robin Gong <b38343@freescale.com>
drivers/dma/imx-sdma.c