From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Subject: Re: [PATCH 6/7] gpio: dwapb: use a second irq chip Date: Tue, 25 Mar 2014 20:40:12 +0100 Message-ID: <5331DB9C.4020208@linutronix.de> References: <1395505004-22650-1-git-send-email-bigeasy@linutronix.de> <1395505004-22650-7-git-send-email-bigeasy@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from www.linutronix.de ([62.245.132.108]:54999 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699AbaCYTkQ (ORCPT ); Tue, 25 Mar 2014 15:40:16 -0400 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: delicious quinoa Cc: Alan Tull , Linus Walleij , Alexandre Courbot , "linux-gpio@vger.kernel.org" , linux-kernel , Dinh Nguyen On 03/25/2014 07:48 PM, delicious quinoa wrote: > I'm trying to test against recent tag next-20140312. Got a build error. > > /home/atull/repos/linux-socfpga/drivers/gpio/gpio-dwapb.c:254:11: > error: 'struct irq_chip' has no member named 'irq_request_resources' > /home/atull/repos/linux-socfpga/drivers/gpio/gpio-dwapb.c:254:36: > error: 'dwapb_irq_reqres' undeclared (first use in this function) > /home/atull/repos/linux-socfpga/drivers/gpio/gpio-dwapb.c:255:11: > error: 'struct irq_chip' has no member named 'irq_release_resources' > /home/atull/repos/linux-socfpga/drivers/gpio/gpio-dwapb.c:255:36: > error: 'dwapb_irq_relres' undeclared (first use in this function) > Build failed... The change in the driver got first introduced in commit 57ef0428 ("gpio: switch drivers to use new callback") and it builds for me. You probably miss the change in the core code c1bacba ("genirq: Provide irq_request/release_resources chip callbacks"). I pushed to git://git.breakpoint.cc/bigeasy/linux.git gpio_dw_v3 my gpio-next + my patches + linux-next which is currently at -next- 20140325 btw. With those you should not get the build anymore. > Alan Tull > aka > delicious quinoa Sebastian