diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-15 17:23:28 +0300 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2024-04-23 15:36:32 +0800 |
commit | 1eb3816c2757f6ba755a313837cc16dd193f5766 (patch) | |
tree | 14bb86cae9dfa46354f57c96fa3422ffba6fc3e7 /drivers/fpga | |
parent | 4d2bc3f7dea4d17243924c6758e0447cc1aa0eea (diff) |
fpga: ice40-spi: Don't use "proxy" headers
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>
Diffstat (limited to 'drivers/fpga')
-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, }; |