All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH 8/8] iio: dac: mcp4821: Switch to including mod_devicetable.h for struct of_device_id definition.
Date: Sun, 18 Feb 2024 17:33:23 +0000	[thread overview]
Message-ID: <20240218173323.1023703-9-jic23@kernel.org> (raw)
In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org>

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

of.h was only included for this definition, so include the correct header
instead.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/dac/mcp4821.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/dac/mcp4821.c b/drivers/iio/dac/mcp4821.c
index 8a0480d33845..782e8f6b7782 100644
--- a/drivers/iio/dac/mcp4821.c
+++ b/drivers/iio/dac/mcp4821.c
@@ -17,7 +17,7 @@
  */
 
 #include <linux/module.h>
-#include <linux/of.h>
+#include <linux/mod_devicetable.h>
 #include <linux/spi/spi.h>
 
 #include <linux/iio/iio.h>
-- 
2.43.2


  parent reply	other threads:[~2024-02-18 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18 17:33 [PATCH 0/8] IIO: Drop incorrect includes of linux/of.h Jonathan Cameron
2024-02-18 17:33 ` [PATCH 1/8] iio: light: vl6180: Drop unused linux/of.h include Jonathan Cameron
2024-02-18 17:33 ` [PATCH 2/8] iio: light: al3320a: " Jonathan Cameron
2024-02-18 17:33 ` [PATCH 3/8] iio: light: al3010: Switch from linux/of.h to linux/mod_devicetable.h Jonathan Cameron
2024-02-18 17:33 ` [PATCH 4/8] iio: adc: ads8688: Switch to mod_devicetable.h for struct of_device_id definition Jonathan Cameron
2024-02-18 17:33 ` [PATCH 5/8] iio: accel: adxl372: Switch from linux/of.h to linux/mod_devicetable.h Jonathan Cameron
2024-02-18 17:33 ` [PATCH 6/8] iio: accel: bma180: " Jonathan Cameron
2024-02-18 17:33 ` [PATCH 7/8] iio: accel: kxsd9: " Jonathan Cameron
2024-02-18 17:33 ` Jonathan Cameron [this message]
2024-02-19  9:20 ` [PATCH 0/8] IIO: Drop incorrect includes of linux/of.h Nuno Sá
2024-02-19 12:24 ` Andy Shevchenko
2024-02-24 15:57   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240218173323.1023703-9-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.