spi: oc-tiny: Replace of_gpio.h by proper one
PATCH 1/1 spi: oc-tiny: 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 <[email protected]>
--- drivers/spi/spi-pic32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-pic32.c +1 -1
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Quoted 3 lines · Andy Shevchenko
of_gpio.his deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
Oops, copy'n'paste subject.
I'll send a v2 with corrected one.
Signature · 2 lines
With Best Regards, Andy Shevchenko