Thread (40 messages) 40 messages, 11 authors, 2010-09-24

[PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support

From: Linus Walleij <hidden>
Date: 2010-08-24 15:01:46
Also in: lkml

2010/8/24 Lothar Wa?mann [off-list ref]:
[Sacha]
[...]
quoted
+static int __devinit sdma_probe(struct platform_device *pdev)
__devinit/__devexit is for hot-pluggable devices. I don't think the
SDMA controller is hot-pluggable, so __init/__exit could be used here.
Then the .probe member has to be removed from the
struct platform_driver and platform_driver_probe() used instead
of platform_driver_register().

But it'd work fine I think.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help