Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1929460rwd; Wed, 17 May 2023 03:29:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ65b3e5xCmwv3AF1MhEGcuW7+cxU5T22BJBaJ3AiTi5kKZ/42JjDWxqJArUuw7bskaIP12c X-Received: by 2002:a17:902:e852:b0:1a9:433e:41e7 with SMTP id t18-20020a170902e85200b001a9433e41e7mr44082715plg.43.1684319366961; Wed, 17 May 2023 03:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684319366; cv=none; d=google.com; s=arc-20160816; b=OhPbDLra/Tz5ZeGYcRZz2NI+3vGZ1VFfU/ZdCBMEi/3cMSoC7gZHv1fFIvAY1rzAD0 2vm6/v001PMuf3F2ELY+aOQcRx9pPdgHcPEtGEoDJUaI6+rjS9QcYgDB6G4AFYXhJgb6 6P7vs8ZUxbtzKmQE9JtzhRDlumChKFaAXNkA/8yhaXtnb3C72hCFjy0PAVe9ysyMI0FN VyzTy0VRBnlEoJxjDRSeP0EJb0VA+C/4HNiGsuBIfL+Zxhq2yfL6jR2R6qiAQzo3X5X6 HIZ514gQoH0W1ZfewIvp3sqzA3kxPQEN3KGfWNcn/7EXolOoqrRZd+sbu6EZNeZm3QT1 gZJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5XPSuVta2HOg8vUR/UtRay+7le/6KZcKOQV/SsBICAQ=; b=qTTDtTh50epSAt6YPOa2LzZw3Dd6fGF/oBxEmAh4UoZQYovVPqtAbZt2rGkH0UJ2Hc Ft7kQvSehqrUdqB4wZm4XY57wROgvutUR81dQZAPryVsaMnBCS8HIVdjo15HLVRX2xUD O6r1HohsJn1jtgphWi1W0AsV06UQ7W1CrFj1Di7nfRwYqn2SVaKh1DtP8FiWB0AZ0uLF xLR5a1J3nVwPmt2SwsmfRl1WBby1W15RtzyqA8rvCo/VYnnNv6hYIHnHNdm0H9qpLAWn d6ZS00Gbmh5O0aFCH7N32rpylJ9lvhBZL/Hx0mYv0GfwVMXEalT/CEgam/m9rxi88wTR h7cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=xg2SrZFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u186-20020a6385c3000000b00524f8b0f257si19407873pgd.102.2023.05.17.03.29.11; Wed, 17 May 2023 03:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=xg2SrZFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbjEQJ4z (ORCPT + 99 others); Wed, 17 May 2023 05:56:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjEQJ4x (ORCPT ); Wed, 17 May 2023 05:56:53 -0400 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 240CA421E for ; Wed, 17 May 2023 02:56:51 -0700 (PDT) Received: by mail-ua1-x92d.google.com with SMTP id a1e0cc1a2514c-783dd1c02c9so208282241.2 for ; Wed, 17 May 2023 02:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684317410; x=1686909410; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5XPSuVta2HOg8vUR/UtRay+7le/6KZcKOQV/SsBICAQ=; b=xg2SrZFsIcXofYfCA/oEKWGumYVHRqt2E7GiaCt4zYD0Oo1spN4WAfYjdLySKN5cPH jNx9oLYtmKwyXXDchLi6waDj9wX+mshKdt+XbyjAU7y9+2wqNf8pSV9EFJ1h7C6mbjyo 74Uz8uSQwULzZekhN914f4AEZgLj97M+LN9+YR1QrmKvDkdZNv86a2Q7KvozqCbQ214x 2NDIyrBVCpMOuV7+0xgcYAccg+CWD9lHU2sAB5aZy+ceCNBNlNI25jaypvwQyHPNcZoh aLggCDng1mIU8SjvpYt9wxmZddfKA0kVhAvoBe9pHisF8KujGXCt3/LH/tHFPufYklg7 z/LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684317410; x=1686909410; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5XPSuVta2HOg8vUR/UtRay+7le/6KZcKOQV/SsBICAQ=; b=R8bs5W2ideR79TCSapWUm8G7Zmrg2xQGgI4nyDktT8vbdxx4PxMSijqOcsiZDS7P8Q 01sI/8NYHQaFauJ9A3O/pP386lbBtPk/BVkiDIZT0GCA1NT1BPlhS0enyEo8fqB+tJut 7YrASDzN+fE8H4LgNTYV34nBdnny+S+ItA/Ltj1TR09qRnB3DT9RK5F1WvceJjpnAZ4J nK5mXviPACVFh/nD2Jf/Z4Wnd4x93EfwzbAeagJqOGfEA5wax1I0FtUd2/KLo2gafyL9 ffXeaRgd7SLQ4GmSoFlzMm2w78SWn9raCYv5vubgHfTlQvkXDFineUYxWpYazY//A5WJ n9Cg== X-Gm-Message-State: AC+VfDw/N66jfKRu9vDs05gpC6fhT1qZOFeVWZ5UovCejA6E9MM/3IX+ VKYiRnSci1TdWPD1o+uYlpWw9mKQf0EM8cqm3PN8SA== X-Received: by 2002:a1f:4bc4:0:b0:440:125:7e59 with SMTP id y187-20020a1f4bc4000000b0044001257e59mr14096028vka.1.1684317410290; Wed, 17 May 2023 02:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20230517095301.903567-1-arnd@kernel.org> In-Reply-To: <20230517095301.903567-1-arnd@kernel.org> From: Bartosz Golaszewski Date: Wed, 17 May 2023 11:56:39 +0200 Message-ID: Subject: Re: [PATCH v2] gpio: sa1100: include To: Arnd Bergmann Cc: Linus Walleij , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 17, 2023 at 11:53=E2=80=AFAM Arnd Bergmann wr= ote: > > From: Arnd Bergmann > > sa1100_init_gpio() is declared in a machine specific header so it > can be called from platform code, but the definition is in the device > driver, which causes a warning: > > drivers/gpio/gpio-sa1100.c:310:13: error: no previous prototype for 'sa11= 00_init_gpio' [-Werror=3Dmissing-prototypes] > > It's already possible to include mach/generic.h from drivers, so add > this one here as well. > > Signed-off-by: Arnd Bergmann > --- > v2: rebase back on mainline tree > --- > drivers/gpio/gpio-sa1100.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/gpio-sa1100.c b/drivers/gpio/gpio-sa1100.c > index edff5e81489f..242dad763ac4 100644 > --- a/drivers/gpio/gpio-sa1100.c > +++ b/drivers/gpio/gpio-sa1100.c > @@ -12,6 +12,7 @@ > #include > #include > #include > +#include > > struct sa1100_gpio_chip { > struct gpio_chip chip; > -- > 2.39.2 > Now applied, thanks! Bart