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

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Feb 9 21:52:33 EST 2013


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...


More information about the devicetree-discuss mailing list