Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754983Ab2FTLfu (ORCPT ); Wed, 20 Jun 2012 07:35:50 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:60755 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754538Ab2FTLfr (ORCPT ); Wed, 20 Jun 2012 07:35:47 -0400 Date: Wed, 20 Jun 2012 12:35:40 +0100 From: Mark Brown To: David Miller Cc: bhupesh.sharma@st.com, sfr@canb.auug.org.au, netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, federico.vaga@gmail.com, giancarlo.asnaghi@st.com, wg@grandegger.com, mkl@pengutronix.de Subject: Re: linux-next: build failure after merge of the net-next tree Message-ID: <20120620113539.GA928@sirena.org.uk> References: <20120619.213703.513466167861199217.davem@davemloft.net> <20120619.214759.2265041580160751452.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120619.214759.2265041580160751452.davem@davemloft.net> X-Cookie: On the eighth day, God created FORTRAN. User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1193 Lines: 28 On Tue, Jun 19, 2012 at 09:47:59PM -0700, David Miller wrote: > From: Bhupesh SHARMA > > So, whether adding a check in Kconfig for HAVE_CLK be a proper > > solution ? But that will limit the compilation of this driver for > > only platforms which are ARM based. > > One may need to support this driver on x86 like platforms also.. > Then x86 will need to provide clock operations, or there needs to > be dummy ones for such platforms. Not directly germane but I've been sending patches for this to the x86 guys for a little while though they're doing a /dev/null impression. > This isn't rocket science. The other option is that the clock API stubs itself out when not enabled which is going into mainline (not sure quite where it is at the minute). These sort of per-arch APIs should be a legacy thing, hopefully we'll manage to squash them at some point and we should certainly work to avoid introducing new ones. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/