projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b19f40b
)
dma: imx-sdma: Remove spurious __init annotation on sdma_probe()
author
Mark Brown
<
[email protected]
>
Wed, 27 Aug 2014 10:55:53 +0000
(11:55 +0100)
committer
Vinod Koul
<
[email protected]
>
Thu, 28 Aug 2014 07:13:39 +0000
(12:43 +0530)
We can't annotate probe functions as __init since binding can occur at
any time, not just during kernel init.
Signed-off-by: Mark Brown <
[email protected]
>
Acked-by: Shawn Guo <
[email protected]
>
Signed-off-by: Vinod Koul <
[email protected]
>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index c615e88c118a3356aaea4c4c20111e1beec6e852..52ce1d21154c970c8e52613e8fb89753aeefb083 100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-1448,7
+1448,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);