Message ID | 20230308145303.826942-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp396494wrd; Wed, 8 Mar 2023 07:22:06 -0800 (PST) X-Google-Smtp-Source: AK7set+ni70SuYWVCUZZGfCY46oCSe32zOqtGeD+oqeoiNwYRBMZTLa5Dj6aTiuZjyF3f6bHawuX X-Received: by 2002:a17:903:41c3:b0:19e:699e:9b64 with SMTP id u3-20020a17090341c300b0019e699e9b64mr23843931ple.65.1678288926467; Wed, 08 Mar 2023 07:22:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678288926; cv=none; d=google.com; s=arc-20160816; b=dhNrVW3FCNE4BZmREgEjPz0+963oxgu9Wr8QY/ezr6lkr1xaI/anKDqMg0NSrZNo1c qml0clZZBj36HTFfWgQ2z2aMo21Hv8HAYZiqqeXoCAJ93a9U3YSwCPI19w9uRzIRASkH 397O3zp0E/SvNsi1lx8+jp16FB/CuhhowH0T/26Q8UzqMAPOV+omawYPgaVjxtiVQ1Ss fHcXnW0t7eJRYapaebwT9CD3YY9yC4VX1TnD6BdEo6qcSTnj+CiWzeiCjiqMTOPnSpLy xz6pG4dU7JrCld7zUIWBtwicM6hT5VlVX8gjRfwdQmFFLRLBnQ08QnW6TuJ/kV6TZQq1 iyLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yHlAJNuN3eYJFeZPoiMRBCM2S/P0SId4TdgS3k04kpU=; b=eXnOiRy8XriY8AL19jfSDDs+X9qZ9Lf7s/hiuHiDSW+jEHtnuij5gF32ePbcpRB/e+ bTEzouRYc4iajVD21NWIk42HEBoA/3oxBTD40DueCXu6FMCipzSUsVqvDYNx6Bc5SWdm KugeUu7OvqB9znOhWMJwhlsTQbXTyYkz3cf5v+bUeNbU7VSUNm0a+9go4Vb7xfS4xR6u O/17z/sX+SP9pop74QWu6jCJLEk2iaEK2+cEpCDtVmu2ak+PwzrdhQzQOyVV+VmCIMg0 7RuQvX5eiS0mNpSFI3kl/4DLeMcLYBoxEZzXCUYZLru/GmEUTxQiq/tgNLokWaFvyBuX V2ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VQ3fO86u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 37-20020a631465000000b00502d861f9e5si14352147pgu.322.2023.03.08.07.21.50; Wed, 08 Mar 2023 07:22:06 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=VQ3fO86u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231181AbjCHOxQ (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 8 Mar 2023 09:53:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230057AbjCHOxN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Mar 2023 09:53:13 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5540B2B286; Wed, 8 Mar 2023 06:53:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 100CCB81D17; Wed, 8 Mar 2023 14:53:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20E12C433EF; Wed, 8 Mar 2023 14:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678287189; bh=KY/P29fSceY4YvXg19e8r4ZqvqGUxtI5Al1OzNjEDLg=; h=From:To:Cc:Subject:Date:From; b=VQ3fO86u6OdqktIbxmE/h79bUox/WkF9hZaHnrvT2ASJ9AWtEXXk+3DmZuA/uwYQ1 FyJooH+oXcu+6CtrG6ISDOH0rcOkBR1L9yPqtLQyoMslNdzE4smzQ7dx4tHIeAkcUF QaQyJ6Thk5dICrs9f4nftyimHojT9WlWov0R2bWB40PTYq2uzGpxeu5l9lbSM3s194 KDiqkBfWUnRjpRaOD4GeRUHlxlgsCmqBUQbu/xPKWz4nH9thD9o2bUWJR1X20AFlFb OAd59ROppC7HF+4NEVXGFF7eqQyfCcdPLwYblp5NxB1PJAZlICM33kNsWeDNdAknbi anYT2UL+z7oNA== From: Arnd Bergmann <arnd@kernel.org> To: Linus Walleij <linus.walleij@linaro.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de>, Naresh Kamboju <naresh.kamboju@linaro.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mips: ar71: include linux/gpio/driver.h Date: Wed, 8 Mar 2023 15:52:53 +0100 Message-Id: <20230308145303.826942-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759813489386562182?= X-GMAIL-MSGID: =?utf-8?q?1759813489386562182?= |
Series |
mips: ar71: include linux/gpio/driver.h
|
|
Commit Message
Arnd Bergmann
March 8, 2023, 2:52 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> The change to remove the implicit gpio/driver.h include was done after fixing all the other users, but the ar7 file still needs the same change. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- arch/mips/ar7/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Mar 08, 2023 at 03:52:53PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The change to remove the implicit gpio/driver.h include was done > after fixing all the other users, but the ar7 file still needs > the same change. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Thank you! P.S. Bart, I believe the best strategy here is to you directly apply this to GPIO tree. If anyone needs this, you can make an immutable tag or branch with it being included. Alternatively I can take it and issue a new immutable tag. Tell me which way suits you better. > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> > Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > arch/mips/ar7/gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/ar7/gpio.c b/arch/mips/ar7/gpio.c > index ae0e01b9438f..4ed833b9cc2f 100644 > --- a/arch/mips/ar7/gpio.c > +++ b/arch/mips/ar7/gpio.c > @@ -7,7 +7,7 @@ > > #include <linux/init.h> > #include <linux/export.h> > -#include <linux/gpio.h> > +#include <linux/gpio/driver.h> > > #include <asm/mach-ar7/ar7.h> > > -- > 2.39.2 >
On Wed, Mar 8, 2023 at 3:53 PM Arnd Bergmann <arnd@kernel.org> wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The change to remove the implicit gpio/driver.h include was done > after fixing all the other users, but the ar7 file still needs > the same change. > > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> > Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> If this is the only problem merging this set was amazingly painless. Yours, Linus Walleij
On Wed, Mar 08, 2023 at 10:56:02PM +0100, Linus Walleij wrote: > On Wed, Mar 8, 2023 at 3:53 PM Arnd Bergmann <arnd@kernel.org> wrote: > > > From: Arnd Bergmann <arnd@arndb.de> > > > > The change to remove the implicit gpio/driver.h include was done > > after fixing all the other users, but the ar7 file still needs > > the same change. > > > > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> > > Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > If this is the only problem merging this set was amazingly painless. Too early to celebrate. We have one more patch on the same matters. That said, I will collect them and send a new PR to Bart.
On Thu, Mar 9, 2023 at 3:14 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > > > If this is the only problem merging this set was amazingly painless. > > Too early to celebrate. We have one more patch on the same matters. Yeah I would expect some more noise, I had a similar patch in one of my kernelorg branches and the zeroday robot would spit some weird bugs like this at me after a few days of randconfig builds. Yours, Linus Walleij
On 8/3/23 15:52, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The change to remove the implicit gpio/driver.h include was done > after fixing all the other users, but the ar7 file still needs > the same change. > > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> > Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > arch/mips/ar7/gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
On 3/8/23 06:52, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The change to remove the implicit gpio/driver.h include was done > after fixing all the other users, but the ar7 file still needs > the same change. > > Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> > Fixes: 21d9526d13b5 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> s/ar71/ar7/ in the subject, with that: Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
diff --git a/arch/mips/ar7/gpio.c b/arch/mips/ar7/gpio.c index ae0e01b9438f..4ed833b9cc2f 100644 --- a/arch/mips/ar7/gpio.c +++ b/arch/mips/ar7/gpio.c @@ -7,7 +7,7 @@ #include <linux/init.h> #include <linux/export.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <asm/mach-ar7/ar7.h>