Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757447Ab2BIOda (ORCPT ); Thu, 9 Feb 2012 09:33:30 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:42504 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754136Ab2BIOd3 (ORCPT ); Thu, 9 Feb 2012 09:33:29 -0500 Date: Thu, 9 Feb 2012 14:33:17 +0000 From: Russell King - ARM Linux To: Marc Kleine-Budde Cc: Marc Kleine-Budde , linux-kernel@vger.kernel.org, Imre Kaloz , linux-arm-kernel@lists.infradead.org, Krzysztof Halasa Subject: Re: [PATCH 1/2] ARM: ixp4xx: fix compilation, add gpiolib support Message-ID: <20120209143317.GS889@n2100.arm.linux.org.uk> References: <1328729069-21308-1-git-send-email-mkl@blackshift.org> <1328729069-21308-2-git-send-email-mkl@blackshift.org> <20120209091124.GR889@n2100.arm.linux.org.uk> <4F33CCD8.6050407@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F33CCD8.6050407@pengutronix.de> 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 Content-Length: 577 Lines: 11 On Thu, Feb 09, 2012 at 02:40:40PM +0100, Marc Kleine-Budde wrote: > I have to remove the ixp4xx specific gpio_to_irq and irq_to_gpio > functions or keep the #define gpio_to_irq gpio_to_irq. Why do you need that? If your platform specific gpiolib implementation provides a proper .to_irq method, then it should all work properly. -- 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/