Skip to contentSkip to conversation

ARM: s3c: stop including gpio.h

PATCH New Andy Shevchenko 1 participant 1 message Mar 31, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: s3c: stop including gpio.h

The driver does not use legacy GPIO API, stop including this header.

---
 arch/arm/mach-s3c/gpio-samsung.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-s3c/gpio-samsung.c +1 -1
index 87daaa09e2c3..79fdb52c4a6b 100644
@@ -11,9 +11,9 @@
 // Samsung - GPIOlib support
 
 #include <linux/kernel.h>
+#include <linux/gpio/driver.h>
 #include <linux/irq.h>
 #include <linux/io.h>
-#include <linux/gpio.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/module.h>
Signature · 1 line
2.47.2