* [PATCH v1 1/1] spi: oc-tiny: Replace of_gpio.h by proper one
@ 2024-02-28 19:40 Andy Shevchenko
2024-02-28 19:47 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-02-28 19:40 UTC (permalink / raw)
To: Mark Brown, Yang Yingliang, linux-spi, linux-kernel; +Cc: Andy Shevchenko
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>
---
drivers/spi/spi-pic32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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>
--
2.43.0.rc1.1.gbec44491f096
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] spi: oc-tiny: Replace of_gpio.h by proper one
2024-02-28 19:40 [PATCH v1 1/1] spi: oc-tiny: Replace of_gpio.h by proper one Andy Shevchenko
@ 2024-02-28 19:47 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2024-02-28 19:47 UTC (permalink / raw)
To: Mark Brown, Yang Yingliang, linux-spi, linux-kernel
On Wed, Feb 28, 2024 at 09:40:15PM +0200, Andy Shevchenko wrote:
> of_gpio.h is 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.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-28 19:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 19:40 [PATCH v1 1/1] spi: oc-tiny: Replace of_gpio.h by proper one Andy Shevchenko
2024-02-28 19:47 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).