From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755322AbYDSEEq (ORCPT ); Sat, 19 Apr 2008 00:04:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750947AbYDSEEj (ORCPT ); Sat, 19 Apr 2008 00:04:39 -0400 Received: from ozlabs.org ([203.10.76.45]:50427 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbYDSEEi (ORCPT ); Sat, 19 Apr 2008 00:04:38 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18441.28496.84724.411784@cargo.ozlabs.ibm.com> Date: Sat, 19 Apr 2008 14:04:32 +1000 From: Paul Mackerras To: Jochen Friedrich Cc: Kumar Gala , Jean Delvare , Scott Wood , "Kernel, Linux" , linuxppc-dev list , Linux I2C , Jon Smirl , Laurent Pinchart , David Miller , Stephen Rothwell Subject: Re: [PATCH] [POWERPC] i2c: fix build breakage introduced by OF helpers In-Reply-To: <4808AEC7.8040000@scram.de> References: <4808AEC7.8040000@scram.de> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jochen Friedrich writes: > Fix build breakage introduced in commit > "[POWERPC] i2c: OF helpers for the i2c API". > If i2c-core is compiled as module, the helper needs to be > compiled as module, as well. Rename i2c.c to of_i2c.c to > avoid name space conflict. Actually, since only powerpc has irq_of_parse_and_map, I'm now inclined to think that drivers/of/i2c.c should live under arch/powerpc for now, or at the least its option should depend on PPC_OF. Paul.