mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
MLK-11876 dma: imx-sdma: fix 'section mismatch'
The commit '39c6663 MLK-11848-2 dma: imx-sdma: add __init for probe()' is not correct, fix it totally. Signed-off-by: Robin Gong <b38343@freescale.com>
This commit is contained in:
parent
04232d021f
commit
88bf544e3f
|
|
@ -1925,7 +1925,7 @@ static void sdma_load_firmware(const struct firmware *fw, void *context)
|
|||
|
||||
#define EVENT_REMAP_CELLS 3
|
||||
|
||||
static int __init sdma_event_remap(struct sdma_engine *sdma)
|
||||
static int sdma_event_remap(struct sdma_engine *sdma)
|
||||
{
|
||||
struct device_node *np = sdma->dev->of_node;
|
||||
struct device_node *gpr_np = of_parse_phandle(np, "gpr", 0);
|
||||
|
|
@ -2105,7 +2105,7 @@ static struct dma_chan *sdma_xlate(struct of_phandle_args *dma_spec,
|
|||
return dma_request_channel(mask, sdma_filter_fn, &data);
|
||||
}
|
||||
|
||||
static int __init sdma_probe(struct platform_device *pdev)
|
||||
static int sdma_probe(struct platform_device *pdev)
|
||||
{
|
||||
const struct of_device_id *of_id =
|
||||
of_match_device(sdma_dt_ids, &pdev->dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user