Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1188345ybn; Wed, 2 Oct 2019 12:09:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCKhkw3Sve+2IPpSH+aztOgBvutdsYjqF0DL3qjxszfI6uTJGG1oxhRpgsALRwxXC1tHWC X-Received: by 2002:a05:6402:1699:: with SMTP id a25mr5534386edv.91.1570043387738; Wed, 02 Oct 2019 12:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570043387; cv=none; d=google.com; s=arc-20160816; b=a/AKlTaimrb5rSnw2N6QigPcgiBVIWFrNSv9BzWvjJDgT94/HtaBdWBaA2HSyLrR4F gitIFaqcZAxN/zexMGw3tD21GKhpkBSpghITAbqLxUol8LWoUjW8FlqsVH6D6QdquZeI Y/m/LzsroBWg2s6FvbGoEdh3Qhh8eqjoTUHLWBEN0r9BTGXzPsCcPZcIS6xIf3RsGPpx 02wz1Q+iTqdEDDaKSVcu/GlKdNiZu+JeIHCeoaUrlm13zgwNznC9V655IzZlTKXMuaMB eogpaoJPFwuzgySAwoQEBhE3duQvwzvr/bjUNCxw6FAhra4QDJI04X1OVghAfj0cQ97J LY+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=ONCLNrwHG22ItCl8OlZUsK8Wkz5Cpbfysa/5P7nQBXU=; b=VDxSYdrr0CgYamB6nmmEyBCtxAKnt7TAJNyw5fc0lI3EkhZPKg5qhAwIGrK6xATX82 arLSu5TY5WMys49+SMPG/D8CzYgdqKbdRddYXzpZY9zbpgrRpnFteDrUrjMxONxW16kI oXjFG65diGo/Gi5m/Colew7N6kF53+/CiEwisLlmr3ikPtJfhmeqnBctKBoff/NK0uXe OzUGTZxAy7a8GggVCvO0Ao1TXZ2DXnoef3bLlj0UESmuGcPs+HD1kwGpnwAJXn/5PJTY x3eY+83OI07wTFl+wbzbFFKoC5qtUKXTC017pwO2ZZC62fE9bO+KP6g38gzRroi8hXik /qSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e57si12246ede.356.2019.10.02.12.09.23; Wed, 02 Oct 2019 12:09:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729551AbfJBTIn (ORCPT + 99 others); Wed, 2 Oct 2019 15:08:43 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:36234 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729440AbfJBTI2 (ORCPT ); Wed, 2 Oct 2019 15:08:28 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFjyo-00035s-EC; Wed, 02 Oct 2019 20:08:06 +0100 Received: from ben by deadeye with local (Exim 4.92.1) (envelope-from ) id 1iFjyn-0003bw-Np; Wed, 02 Oct 2019 20:08:05 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Michael Hennerich" , "Linus Walleij" , "Randy Dunlap" , linux-gpio@vger.kernel.org, "kbuild test robot" , "Bartosz Golaszewski" Date: Wed, 02 Oct 2019 20:06:51 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 26/87] gpio: fix gpio-adp5588 build errors In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.75-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap commit e9646f0f5bb62b7d43f0968f39d536cfe7123b53 upstream. The gpio-adp5588 driver uses interfaces that are provided by GPIOLIB_IRQCHIP, so select that symbol in its Kconfig entry. Fixes these build errors: ../drivers/gpio/gpio-adp5588.c: In function ‘adp5588_irq_handler’: ../drivers/gpio/gpio-adp5588.c:266:26: error: ‘struct gpio_chip’ has no member named ‘irq’ dev->gpio_chip.irq.domain, gpio)); ^ ../drivers/gpio/gpio-adp5588.c: In function ‘adp5588_irq_setup’: ../drivers/gpio/gpio-adp5588.c:298:2: error: implicit declaration of function ‘gpiochip_irqchip_add_nested’ [-Werror=implicit-function-declaration] ret = gpiochip_irqchip_add_nested(&dev->gpio_chip, ^ ../drivers/gpio/gpio-adp5588.c:307:2: error: implicit declaration of function ‘gpiochip_set_nested_irqchip’ [-Werror=implicit-function-declaration] gpiochip_set_nested_irqchip(&dev->gpio_chip, ^ Fixes: 459773ae8dbb ("gpio: adp5588-gpio: support interrupt controller") Reported-by: kbuild test robot Signed-off-by: Randy Dunlap Cc: linux-gpio@vger.kernel.org Reviewed-by: Bartosz Golaszewski Acked-by: Michael Hennerich Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -654,6 +654,7 @@ config GPIO_ADP5588 config GPIO_ADP5588_IRQ bool "Interrupt controller support for ADP5588" depends on GPIO_ADP5588=y + select GPIOLIB_IRQCHIP help Say yes here to enable the adp5588 to be used as an interrupt controller. It requires the driver to be built in the kernel.