From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754659Ab2JVNvA (ORCPT ); Mon, 22 Oct 2012 09:51:00 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:56597 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754331Ab2JVNu6 (ORCPT ); Mon, 22 Oct 2012 09:50:58 -0400 Date: Mon, 22 Oct 2012 14:50:24 +0100 From: Russell King - ARM Linux To: Mark Brown Cc: Mike Turquette , Guan Xuetao , Ralf Baechle , linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: Make the generic clock API available by default Message-ID: <20121022135024.GN21164@n2100.arm.linux.org.uk> References: <1350910970-9095-1-git-send-email-broonie@opensource.wolfsonmicro.com> <20121022130556.GM21164@n2100.arm.linux.org.uk> <20121022132711.GE4477@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121022132711.GE4477@opensource.wolfsonmicro.com> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 22, 2012 at 02:27:11PM +0100, Mark Brown wrote: > On Mon, Oct 22, 2012 at 02:05:57PM +0100, Russell King - ARM Linux wrote: > > On Mon, Oct 22, 2012 at 02:02:50PM +0100, Mark Brown wrote: > > > @@ -327,6 +328,7 @@ config ARCH_AT91 > > > select ARCH_REQUIRE_GPIOLIB > > > select CLKDEV_LOOKUP > > > select HAVE_CLK > > > + select HAVE_CUSTOM_CLK > > > This is silly. If you select "HAVE_CUSTOM_CLK" then isn't it true that > > "HAVE_CLK" should also be selected? If so, why not have "HAVE_CUSTOM_CLK" > > do that selection and remove it from all these entries? > > If we're worrying about that there's the larger point that the effect of > this patch is to make HAVE_CLK meaningless as there will be no platform > for which it's not true. I was just leaving HAVE_CLK alone for now > ready to circle around on it if we ever manage to get the enabling bit > sorted. Are you sure that all architectures are fine with having that permanently enabled? What about nommu architectures?