Skip to contentSkip to conversation

serial: pic32_uart: Replace of_gpio.h by proper one

PATCH New Andy Shevchenko 1 participant 1 message Mar 7, 2024 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: pic32_uart: Replace of_gpio.h by proper one

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.

---
 drivers/tty/serial/pic32_uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/pic32_uart.c +1 -1
index bbb46e6e98a2..1619186e158e 100644
@@ -8,11 +8,11 @@
  *   Sorin-Andrei Pistirica <[email protected]>
  */
 
+#include <linux/gpio/consumer.h>
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/of.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/slab.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096