summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-02-28 21:48:08 +0200
committerMark Brown <broonie@kernel.org>2024-02-29 11:40:46 +0000
commit18ebe6f6fccfb093eec85bcdf3e77d48cc03a592 (patch)
treecdb6881453461ad37922573b08d6712b87355dd0 /drivers/spi
parent666db8fd4265f938795004838d2a9335ce7b9da1 (diff)
downloadlinux-18ebe6f6fccfb093eec85bcdf3e77d48cc03a592.tar.gz
linux-18ebe6f6fccfb093eec85bcdf3e77d48cc03a592.tar.bz2
linux-18ebe6f6fccfb093eec85bcdf3e77d48cc03a592.zip
spi: pic32: 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. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://msgid.link/r/20240228194818.3606841-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-pic32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pic32.c b/drivers/spi/spi-pic32.c
index f55b38c577e4..709edb70ad7d 100644
--- a/drivers/spi/spi-pic32.c
+++ b/drivers/spi/spi-pic32.c
@@ -11,13 +11,13 @@
#include <linux/delay.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
+#include <linux/gpio/consumer.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_irq.h>
-#include <linux/of_gpio.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>