Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2234260ybi; Thu, 20 Jun 2019 11:19:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNzcODBvXyS7Tx2Fbu6Es4/Ph+clIUP4HokYqXY6VndcknGmj9WNAh9v0NWD/ngW6IofK+ X-Received: by 2002:a63:7009:: with SMTP id l9mr13881968pgc.162.1561054770391; Thu, 20 Jun 2019 11:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561054770; cv=none; d=google.com; s=arc-20160816; b=AMhNPwrz489is4ZHO6yjNcyXMiWi3AJDywzyYijLjj7NP6i0koFXie4KXr1Pni9gMf NeMyRFQsnyk5Ajz+gxR1KwLwRo6jdSnLIJPVwZGXUegtvlyr4N071ieQmwi8P5oVQ50c ew78g3GN7K9HMih1Tv50MNydcOjy4cUNp0S8hx2uFokvpjBODa9Z4bTJh5UdotMnpLps USVsG6KSItQ8pIvaL9rRZ78FwVBWms2OrYCUQTDBJ4ZbtCB8Rfr/3/WvIrUDjYCILbBP HMjkLOxWireZqNBKMyJZBayVfpFlwu9CyycJ3uP+ryIipcqGncpKrtc0r2g1eYnjcgEE RNsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=M4FRUv4cxmvHuxKUJtK74SpdsYcDPVtny33KJsk+ygg=; b=y7uTbbGo0wWW/YsPan6lNouSh5Ne08bRVupxfdqY358aVbAdAdiyl6ROGkoxxKq+lE yjHdrI6pBU2fQf+w6r284dOn/eD4QnEYXhiYaWyno5eNHG0Y8xQ4DNpkAoxa66jVMuYt 1coc0w1P3KQmtyCrmotFpxHgIbMuOCva+CMQfGJrsTdXvEqDOCkaeDWCPPnfOkkAPOAk 4NaU9DOgrBaco2ol1dokwqVb30kWnM/buvrPpwO6rbqXp0IbMu3ZORyVWtsHBm9dYI+q s3irh5BeQTbVDPUBsae5EELXRsVm1WIpP5AlFlHY6rXFH+GquTK7aNLcKYvQD4GsZo9a zMgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KTySs0Gd; 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 w11si392022pjq.17.2019.06.20.11.19.15; Thu, 20 Jun 2019 11:19:30 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KTySs0Gd; 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 S1729777AbfFTSQ2 (ORCPT + 99 others); Thu, 20 Jun 2019 14:16:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:45598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729365AbfFTSQ0 (ORCPT ); Thu, 20 Jun 2019 14:16:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1DA06208CA; Thu, 20 Jun 2019 18:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561054585; bh=qMzfbiSIwksrwUm8tdqYP8brg/c+K2rOMHysxHULuh4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KTySs0GdGQ0Cv5p6qt1ZMtwYD/DLeE1hYWxJ951BGDU9TDaTwOO+N1y+Au1XELQcD 7B0B8FSlCEL1EyOZ9MVvkiqCNcvzLgwpkxhDWbnyzmVD4bpWO7j5fuud0jVGou9lmD sluL6JugxST4oNOojvvybONgC5z8LCHFqgwkoPDk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Randy Dunlap , linux-gpio@vger.kernel.org, Bartosz Golaszewski , Michael Hennerich , Linus Walleij , Sasha Levin Subject: [PATCH 5.1 51/98] gpio: fix gpio-adp5588 build errors Date: Thu, 20 Jun 2019 19:57:18 +0200 Message-Id: <20190620174351.591617923@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190620174349.443386789@linuxfoundation.org> References: <20190620174349.443386789@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit e9646f0f5bb62b7d43f0968f39d536cfe7123b53 ] 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: Sasha Levin --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3f50526a771f..864a1ba7aa3a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -824,6 +824,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. -- 2.20.1