[PATCH 2/8] macb: detect hclk presence from platform data
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Mar 10 05:15:54 EST 2011
On Thu, Mar 10, 2011 at 10:10:37AM +0000, Jamie Iles wrote:
> Rather than detecting whether we need to do a clk_get() and enable on
> the "hclk" based on the kernel configuration, add an extra field to the
> platform data. This makes it cleaner to add more supported
> architectures without lots of ifdeffery.
Why not have the platform provide a dummy hclk if no real hclk exists?
More information about the linux-arm-kernel
mailing list