From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Moritz Fischer <mdf@kernel.org>, Xu Yilun <yilun.xu@intel.com>,
Tom Rix <trix@redhat.com>
Subject: [PATCH v1 3/3] fpga: lattice-sysconfig-spi: Don't use "proxy" headers
Date: Fri, 8 May 2026 10:25:37 +0200 [thread overview]
Message-ID: <20260508082716.1156192-4-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20260508082716.1156192-1-andriy.shevchenko@linux.intel.com>
Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/fpga/lattice-sysconfig-spi.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/fpga/lattice-sysconfig-spi.c b/drivers/fpga/lattice-sysconfig-spi.c
index 76df5d7ad1f4..8462bc4be06e 100644
--- a/drivers/fpga/lattice-sysconfig-spi.c
+++ b/drivers/fpga/lattice-sysconfig-spi.c
@@ -3,8 +3,14 @@
* Lattice FPGA programming over slave SPI sysCONFIG interface.
*/
-#include <linux/of.h>
+#include <linux/dev_printk.h>
+#include <linux/device/devres.h>
+#include <linux/errno.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/slab.h>
#include <linux/spi/spi.h>
+#include <linux/types.h>
#include "lattice-sysconfig.h"
--
2.50.1
next prev parent reply other threads:[~2026-05-08 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 8:25 [PATCH v1 0/3] fpga: lattice-sysconfig-spi: Ad-hoc cleanups Andy Shevchenko
2026-05-08 8:25 ` [PATCH v1 1/3] fpga: lattice-sysconfig-spi: Fix the terminator entries in ID tables Andy Shevchenko
2026-05-08 8:25 ` [PATCH v1 2/3] fpga: lattice-sysconfig-spi: Drop of_match_ptr() protection Andy Shevchenko
2026-05-08 8:25 ` Andy Shevchenko [this message]
2026-05-11 15:12 ` [PATCH v1 0/3] fpga: lattice-sysconfig-spi: Ad-hoc cleanups Xu Yilun
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=20260508082716.1156192-4-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=trix@redhat.com \
--cc=yilun.xu@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox