Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: adc: adi-axi-adc: replace of.h with mod_devicetable.h
@ 2025-02-18 10:34 Nuno Sá via B4 Relay
  2025-02-18 15:54 ` David Lechner
  2025-02-22 21:00 ` Andy Shevchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Nuno Sá via B4 Relay @ 2025-02-18 10:34 UTC (permalink / raw)
  To: linux-iio; +Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron

From: Nuno Sá <nuno.sa@analog.com>

Don't use of.h in order to include mod_devicetable.h. Use it directly as
there no direct dependency on OF.h

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
---
 drivers/iio/adc/adi-axi-adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/adi-axi-adc.c b/drivers/iio/adc/adi-axi-adc.c
index 61ab7dce43be66868f09c41df18d09259db0cee3..068a1f61c6329967e39e8fcde70f0c903aaa6393 100644
--- a/drivers/iio/adc/adi-axi-adc.c
+++ b/drivers/iio/adc/adi-axi-adc.c
@@ -14,7 +14,7 @@
 #include <linux/delay.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
-#include <linux/of.h>
+#include <linux/mod_devicetable.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>
 #include <linux/regmap.h>

---
base-commit: c0f115a8d97599623294c8e9ec28530e19c1e85b
change-id: 20250218-dev-axi-adc-fix-headers-b2dd1dbd1be6
--

Thanks!
- Nuno Sá



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-02 11:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 10:34 [PATCH] iio: adc: adi-axi-adc: replace of.h with mod_devicetable.h Nuno Sá via B4 Relay
2025-02-18 15:54 ` David Lechner
2025-02-22 14:24   ` Jonathan Cameron
2025-02-22 21:00 ` Andy Shevchenko
2025-02-25  9:18   ` Nuno Sá
2025-03-01  3:37     ` Jonathan Cameron
2025-03-02 11:28       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox