[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110310101554.GD11273@n2100.arm.linux.org.uk>
Date: Thu, 10 Mar 2011 10:15:54 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Jamie Iles <jamie@...ieiles.com>
Cc: netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
nicolas.ferre@...el.com
Subject: Re: [PATCH 2/8] macb: detect hclk presence from platform data
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?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists