From: Mark Brown Subject: Re: [PATCH] netdev: mv643xx_eth: Prevent build on PPC32 Date: Fri, 8 Jun 2012 00:51:15 +0100 Message-ID: <20120607235115.GB21150@sirena.org.uk> References: <20120605192820.GC7683@zod.bos.redhat.com> <1338939005.21665.54.camel@deadeye.wl.decadent.org.uk> <20120606023842.GD7683@zod.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ben Hutchings , Lennert Buytenhek , Andrew Lunn , Olof Johansson , netdev@vger.kernel.org To: Josh Boyer Return-path: Received: from cassiel.sirena.org.uk ([80.68.93.111]:45358 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008Ab2FGXvV (ORCPT ); Thu, 7 Jun 2012 19:51:21 -0400 Content-Disposition: inline In-Reply-To: <20120606023842.GD7683@zod.bos.redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Jun 05, 2012 at 10:38:42PM -0400, Josh Boyer wrote: > 1) revert the change for ARM that introduced th clk stuff > 2) do a similar change as the original commit but with a bunch of > #ifdef-ery > 3) implement the clkdev API stuff for 32-bit ppc > Honestly, I'd go for either 1 or 2. The commit that introduced it was > broken to begin with, but that isn't my call. There's a change going in which stubs out the clock API when not used which should resolve the immediate issue, though really the best thing here is just to enable use of the generic clock API if the platform doesn't have one of its own - it's not just platforms that need clocks so we really want to get that rolled out as widely as possible. This sort of issue is just the tip of the iceberg in terms of what it's useful to do with the API.