[PATCH 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

Russell King - ARM Linux
2013-02-09T10:52:33Z

On Wed, Feb 06, 2013 at 03:03:16PM -0600, Jon Hunter wrote:
> @@ -673,7 +702,7 @@ static int omap_dma_init(void)
> {
> int rc = platform_driver_register(&omap_dma_driver);
>
> - if (rc == 0) {
> + if ((rc == 0) && (!of_have_populated_dt())) {

Looks good, the worst I can find is this over-use of parens...