Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp195867ybi; Fri, 24 May 2019 02:21:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNK30OY1qtDqI8h1e96WuYuXXnxXW93GxGnY7b3jRqec6ESi97/ZaJ5uDYnKnbyfyqWP8A X-Received: by 2002:a63:6ac3:: with SMTP id f186mr104103573pgc.326.1558689678833; Fri, 24 May 2019 02:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558689678; cv=none; d=google.com; s=arc-20160816; b=JY6KBTTyI7dPanondR9g1QMAUnjEHA7lch+dzpic1IqaX0lLVcIr7LASmR+BHn0wxT XGJxuPog0dO4zrR2i4Eoocu8u7oARxCF919m0tDJLhnwYdHl4MS8MQO5KGfstSgY1urX 4EEsttim7YX0xk0XtQZZ8M2TOUK1HttAg1p+G66/ET85gg3lMwtjfSHb5XBEH1H6LazM uHbILp1jd7h76uH5NG95Uiq1K7vCqCx6p+EOfZ+ChxGjLqfsNk4SJDAeEDMMSRA+gNJ9 8g+BjfcsRHCJ7sr+dHQ2dK80vl8Vgc+AeQq3i0q9TzY18NrECIVr8zpnhjkpDXVRbaYA ovag== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MQNAZ2qpcerEvwA34HiaREcIaqtFT4giJ0gziFwgnU4=; b=CK/P4/dZOtu9CG52zmEnEZwbtUWr1bnHKbW/3vg6kKkPW5/T5p0XzciobXMb3ohkZK G2oeQE7jDYSFCSlcXwFuiHVPvmyAvtzmoXpmd4hky2+v5Mg0ILkgUgiYToKfZpSMzjeC /F8xylc3l+jE5FpGqDIWYWZURIB2OmjW/W20PpA8/obSfQHAZQ2ojiIAQaal105bFcAh Wo8AiW4vOUkRLp5EDDpTnss5ISgZoQTjs+7T6J31MUungU3yjvWUAgXJ00ewv79k8RDf 01w2yElLpFVlH8hs0n9ollt5DUoNZ71pbfl4RHmz31a72e09aBy0tXfL3aBrbpSjlGSg P3cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J+X9xSnl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si2919650pgv.481.2019.05.24.02.20.59; Fri, 24 May 2019 02:21:18 -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=@linaro.org header.s=google header.b=J+X9xSnl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390013AbfEXJRP (ORCPT + 99 others); Fri, 24 May 2019 05:17:15 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33301 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389515AbfEXJRP (ORCPT ); Fri, 24 May 2019 05:17:15 -0400 Received: by mail-lf1-f66.google.com with SMTP id x132so6605125lfd.0 for ; Fri, 24 May 2019 02:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MQNAZ2qpcerEvwA34HiaREcIaqtFT4giJ0gziFwgnU4=; b=J+X9xSnl4BIQvSLLO+SvCj3CZv19Aw7rcBirRTZtbNQGrSoMiAZ+QeWRmpfTLvK5SI nF+TkOmYoyoh5yZCyPXqKdtISy8OLwnbnfXPpIEszISmeTAsoHsGqxxsCHlLyQk2FUxE ncWjZgFlgNwVK8JqW6QZzRqdAzfSysYBShcPS2EUpT7Z7WcPZvjaNJ92KsJUQa6dL/es aEMhKW1JdXsBn2Zqf7oASyAc9NIhwFZlFRHysgZCK2XqHx9mKXjlqFn805pTbseKSSOd 62za/mG/T+kxlbn0jgxGV1j5a34Z5puz1doKDlmMn7/6PtPpTNP/ozR/+bS60hlVLnbu GhUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MQNAZ2qpcerEvwA34HiaREcIaqtFT4giJ0gziFwgnU4=; b=DmW10dfPzxbdNsfeDGSs+UEOJWSanTCd3ajg46ibFf7wKx0UqGvP8CKF4RKB0R/vqi OWTMSvxoACnLU6XUFrOE+gjfkJOw3RDUu6xpa69hk3vNsT/Ta9i58quwWAlRG4KdecLl hn8oYCL/TTW8EL0yoFmbs7GqATenb3pwMRQV1m0PXglUKn52UUHTPRvdtbfqpoYwNKvP Vs/jyVjevNy4JGd4bGQ5vAnoYzfL1ZF98yc0wrlraRTyedHSDsKhcsqMemadmMffjs9z 4Xa6ZCntSR6mLxjbEiYIqFLMuFECrNenSZBR4QirwsosnZczT5wqXd067it6AyeAA34o MKKg== X-Gm-Message-State: APjAAAUOnwOHea3q/sr8sdbCnYz2i6ErnhiAVTLhWxQ4j5QPoRM8yf54 fD9+4gT1ADKMMNVSqVWW87gDxxLeWqFzjMAwO//s1Q== X-Received: by 2002:ac2:4919:: with SMTP id n25mr4948262lfi.114.1558689433090; Fri, 24 May 2019 02:17:13 -0700 (PDT) MIME-Version: 1.0 References: <8054bec0-ea24-8590-738b-bae58c0be3b4@infradead.org> In-Reply-To: <8054bec0-ea24-8590-738b-bae58c0be3b4@infradead.org> From: Linus Walleij Date: Fri, 24 May 2019 11:17:00 +0200 Message-ID: Subject: Re: [PATCH] gpio: fix gpio-adp5588 build errors To: Randy Dunlap Cc: LKML , "linux-gpio@vger.kernel.org" , kbuild test robot , Michael Hennerich , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2019 at 12:00 AM Randy Dunlap wrote= : > From: Randy Dunlap > > 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 =E2=80=98adp5588_irq_handler= =E2=80=99: > ../drivers/gpio/gpio-adp5588.c:266:26: error: =E2=80=98struct gpio_chip= =E2=80=99 has no member named =E2=80=98irq=E2=80=99 > dev->gpio_chip.irq.domain, gpio)); > ^ > ../drivers/gpio/gpio-adp5588.c: In function =E2=80=98adp5588_irq_setup=E2= =80=99: > ../drivers/gpio/gpio-adp5588.c:298:2: error: implicit declaration of func= tion =E2=80=98gpiochip_irqchip_add_nested=E2=80=99 [-Werror=3Dimplicit-func= tion-declaration] > ret =3D gpiochip_irqchip_add_nested(&dev->gpio_chip, > ^ > ../drivers/gpio/gpio-adp5588.c:307:2: error: implicit declaration of func= tion =E2=80=98gpiochip_set_nested_irqchip=E2=80=99 [-Werror=3Dimplicit-func= tion-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: Michael Hennerich > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: linux-gpio@vger.kernel.org Patch applied for fixes. Yours, Linus Walleij