[PATCH 03/13] clk: CLK_PREPARE must depend on HAVE_CLK

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Apr 21 08:40:43 EDT 2012


On Sat, Apr 21, 2012 at 05:17:30PM +0530, Viresh Kumar wrote:
> CLK_PREPARE must have dependency on HAVE_CLK. Add it.

No - its possible to have HAVE_CLK_PREPARE selected independently of
HAVE_CLK.  Why do we want to end up having to add conditionals all
over the place for 'select HAVE_CLK_PREPARE' ?

The only time HAVE_CLK_PREPARE gets used is in a header file, where you're
already making it conditional on HAVE_CLK.  Nothing else should know about
HAVE_CLK_PREPARE.



More information about the linux-arm-kernel mailing list