On Tue, Oct 13, 2009 at 08:06:50PM +0300, Alexander Shishkin wrote:
> +     emu_clk = *(struct clk **)pdev->dev.platform_data;
> +     if (emu_clk)
> +             clk_enable(emu_clk);
> +

Definitely no way this is going to be acceptable.  Never EVER pass clk
pointers around like this.

And you've ignored the comments about it being a platform driver.

Sorry, but the answer to this patch is a firm NAK.

Please make it an AMBA primecell driver.  Also make it follow the clk
API correctly, and claim the three clocks for that primecell *only*.
--
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