On Thu, Jun 14, 2012 at 03:59:24PM +0530, Santosh Shilimkar wrote:
> From: Aneesh V <ane...@ti.com>
> 
> Device tree support for the EMIF driver.
> 
> Reviewed-by: Benoit Cousson <b-cous...@ti.com>
> Reviewed-by: Grant Likely <grant.lik...@secretlab.ca>
> Tested-by: Lokesh Vutla <lokeshvu...@ti.com>
> Signed-off-by: Aneesh V <ane...@ti.com>
> [santosh.shilim...@ti.com: Rebased against 3.5-rc]
> Signed-off-by: Santosh Shilimkar <santosh.shilim...@ti.com>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>

Am I the memory maintainer now taking these patches?

> @@ -1267,7 +1534,13 @@ static int __init_or_module emif_probe(struct 
> platform_device *pdev)
>       struct resource         *res;
>       int                     irq;
>  
> -     emif = get_device_details(pdev);
> +#if defined(CONFIG_OF)
> +     if (pdev->dev.of_node)
> +             emif = of_get_device_details(pdev->dev.of_node, &pdev->dev);
> +     else
> +#endif
> +             emif = get_device_details(pdev);
> +

Can't you do this without the #ifdef?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to