diff options
| author | Andy Shevchenko <[email protected]> | 2024-04-15 14:23:28 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2024-04-23 07:36:32 +0000 |
| commit | 1eb3816c2757f6ba755a313837cc16dd193f5766 (patch) | |
| tree | 14bb86cae9dfa46354f57c96fa3422ffba6fc3e7 /drivers/fpga/ice40-spi.c | |
| parent | fpga: tests: use KUnit devices instead of platform devices (diff) | |
| download | kernel-1eb3816c2757f6ba755a313837cc16dd193f5766.tar.gz kernel-1eb3816c2757f6ba755a313837cc16dd193f5766.zip | |
fpga: ice40-spi: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Xu Yilun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
| -rw-r--r-- | drivers/fpga/ice40-spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fpga/ice40-spi.c b/drivers/fpga/ice40-spi.c index c0028ae4c5b7..62c30266130d 100644 --- 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, }; |
