linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mips: ar71: include linux/gpio/driver.h
@ 2023-03-08 14:52 Arnd Bergmann
  2023-03-08 15:37 ` Andy Shevchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Arnd Bergmann @ 2023-03-08 14:52 UTC (permalink / raw)
  To: Linus Walleij, Andy Shevchenko
  Cc: Arnd Bergmann, Naresh Kamboju, Thomas Bogendoerfer, linux-mips,
	linux-kernel

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(-)

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-08 14:52 [PATCH] mips: ar71: include linux/gpio/driver.h Arnd Bergmann
@ 2023-03-08 15:37 ` Andy Shevchenko
  2023-03-08 21:56 ` Linus Walleij
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Andy Shevchenko @ 2023-03-08 15:37 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Linus Walleij, Arnd Bergmann, Naresh Kamboju,
	Thomas Bogendoerfer, linux-mips, linux-kernel

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
> 

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-08 14:52 [PATCH] mips: ar71: include linux/gpio/driver.h Arnd Bergmann
  2023-03-08 15:37 ` Andy Shevchenko
@ 2023-03-08 21:56 ` Linus Walleij
  2023-03-09 14:05   ` Andy Shevchenko
  2023-03-09 14:57 ` Philippe Mathieu-Daudé
  2023-03-09 22:04 ` Florian Fainelli
  3 siblings, 1 reply; 7+ messages in thread
From: Linus Walleij @ 2023-03-08 21:56 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Andy Shevchenko, Arnd Bergmann, Naresh Kamboju,
	Thomas Bogendoerfer, linux-mips, linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-08 21:56 ` Linus Walleij
@ 2023-03-09 14:05   ` Andy Shevchenko
  2023-03-09 14:21     ` Linus Walleij
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2023-03-09 14:05 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Arnd Bergmann, Arnd Bergmann, Naresh Kamboju,
	Thomas Bogendoerfer, linux-mips, linux-kernel

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.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-09 14:05   ` Andy Shevchenko
@ 2023-03-09 14:21     ` Linus Walleij
  0 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2023-03-09 14:21 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Arnd Bergmann, Arnd Bergmann, Naresh Kamboju,
	Thomas Bogendoerfer, linux-mips, linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-08 14:52 [PATCH] mips: ar71: include linux/gpio/driver.h Arnd Bergmann
  2023-03-08 15:37 ` Andy Shevchenko
  2023-03-08 21:56 ` Linus Walleij
@ 2023-03-09 14:57 ` Philippe Mathieu-Daudé
  2023-03-09 22:04 ` Florian Fainelli
  3 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-03-09 14:57 UTC (permalink / raw)
  To: Arnd Bergmann, Linus Walleij, Andy Shevchenko
  Cc: Arnd Bergmann, Naresh Kamboju, Thomas Bogendoerfer, linux-mips,
	linux-kernel

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>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] mips: ar71: include linux/gpio/driver.h
  2023-03-08 14:52 [PATCH] mips: ar71: include linux/gpio/driver.h Arnd Bergmann
                   ` (2 preceding siblings ...)
  2023-03-09 14:57 ` Philippe Mathieu-Daudé
@ 2023-03-09 22:04 ` Florian Fainelli
  3 siblings, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2023-03-09 22:04 UTC (permalink / raw)
  To: Arnd Bergmann, Linus Walleij, Andy Shevchenko
  Cc: Arnd Bergmann, Naresh Kamboju, Thomas Bogendoerfer, linux-mips,
	linux-kernel

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>
-- 
Florian


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-09 22:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 14:52 [PATCH] mips: ar71: include linux/gpio/driver.h Arnd Bergmann
2023-03-08 15:37 ` Andy Shevchenko
2023-03-08 21:56 ` Linus Walleij
2023-03-09 14:05   ` Andy Shevchenko
2023-03-09 14:21     ` Linus Walleij
2023-03-09 14:57 ` Philippe Mathieu-Daudé
2023-03-09 22:04 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).