projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d2bc3f
)
fpga: ice40-spi: Don't use "proxy" headers
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Mon, 15 Apr 2024 14:23:28 +0000
(17:23 +0300)
committer
Xu Yilun
<yilun.xu@linux.intel.com>
Tue, 23 Apr 2024 07:36:32 +0000
(15:36 +0800)
Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link:
https://lore.kernel.org/r/20240415142428.853812-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
drivers/fpga/ice40-spi.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/ice40-spi.c
b/drivers/fpga/ice40-spi.c
index c0028ae4c5b761fdaecf451612d3589bd4b53573..62c30266130d4f286e1969899761b34ddfe7f08c 100644
(file)
--- a/
drivers/fpga/ice40-spi.c
+++ b/
drivers/fpga/ice40-spi.c
@@
-10,8
+10,8
@@
#include <linux/fpga/fpga-mgr.h>
#include <linux/gpio/consumer.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of_gpio.h>
#include <linux/spi/spi.h>
#include <linux/stringify.h>
@@
-199,7
+199,7
@@
static struct spi_driver ice40_fpga_driver = {
.probe = ice40_fpga_probe,
.driver = {
.name = "ice40spi",
- .of_match_table =
of_match_ptr(ice40_fpga_of_match)
,
+ .of_match_table =
ice40_fpga_of_match
,
},
.id_table = ice40_fpga_spi_ids,
};