Skip to contentSkip to conversation

sh: rsk: stop including linux/gpio.h

PATCH In review Arnd Bergmann 4 participants 4 messages Nov 24 – Dec 1 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: rsk: stop including linux/gpio.h

From: Arnd Bergmann <[email protected]>

This is one of the last files to include the old header. Drop it here so we can remove the file.

Cc Bartosz Golaszewski <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Linus Walleij <[email protected]>

---
Ideally this should just get folded into one of the patches in Dmitry's series if that makes it into 7.5, otherwise please apply just this one.

---
 arch/sh/boards/mach-rsk/devices-rsk7203.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/boards/mach-rsk/devices-rsk7203.c +1 -1
index e6b05d4588b7..eb56b57812bd 100644
@@ -10,7 +10,7 @@
 #include <linux/interrupt.h>
 #include <linux/smsc911x.h>
 #include <linux/input.h>
-#include <linux/gpio.h>
+#include <linux/gpio/legacy.h>
 #include <linux/gpio_keys.h>
 #include <linux/leds.h>
 #include <asm/machvec.h>
Signature · 1 line
2.53.0
#1 lore raw

Hello Arnd,

Quoted 22 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

This is one of the last files to include the old header. Drop it here so we can remove the file.

Cc Bartosz Golaszewski <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Linus Walleij <[email protected]>

---
Ideally this should just get folded into one of the patches in Dmitry's series if that makes it into 7.5, otherwise please apply just this one.

---
 arch/sh/boards/mach-rsk/devices-rsk7203.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/boards/mach-rsk/devices-rsk7203.c +0 -0
index e6b05d4588b7..eb56b57812bd 100644

arch/sh/boards/mach-rsk/devices-rsk7203.c line 16

Quoted 8 lines
arch/sh/boards/mach-rsk/devices-rsk7203.c +1 -1
@@ -10,7 +10,7 @@
 #include <linux/interrupt.h>
 #include <linux/smsc911x.h>
 #include <linux/input.h>
-#include <linux/gpio.h>
+#include <linux/gpio/legacy.h>
 #include <linux/gpio_keys.h>
 #include <linux/leds.h>
 #include <asm/machvec.h>

I will get either of these landed for v7.5.

Adrian

Signature · 4 lines
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
#2 lore raw
Quoted 6 lines · John Paul Adrian Glaubitz
Quoted 3 lines · Arnd Bergmann

Ideally this should just get folded into one of the patches in Dmitry's series if that makes it into 7.5, otherwise please apply just this one.

I will get either of these landed for v7.5.

Ok, thanks!

Arnd