[PATCH v1 1/1] ARM: s3c: stop including gpio.h
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Mon Mar 31 02:36:50 PDT 2025
The driver does not use legacy GPIO API, stop including this header.
Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
arch/arm/mach-s3c/gpio-samsung.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c
index 87daaa09e2c3..79fdb52c4a6b 100644
--- a/arch/arm/mach-s3c/gpio-samsung.c
+++ b/arch/arm/mach-s3c/gpio-samsung.c
@@ -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>
--
2.47.2
More information about the linux-arm-kernel
mailing list