]> Git Repo - linux.git/blobdiff - drivers/fpga/ice40-spi.c
x86/kaslr: Expose and use the end of the physical memory address space
[linux.git] / drivers / fpga / ice40-spi.c
index c0028ae4c5b761fdaecf451612d3589bd4b53573..62c30266130d4f286e1969899761b34ddfe7f08c 100644 (file)
@@ -10,8 +10,8 @@
 
 #include <linux/fpga/fpga-mgr.h>
 #include <linux/gpio/consumer.h>
 
 #include <linux/fpga/fpga-mgr.h>
 #include <linux/gpio/consumer.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/spi/spi.h>
 #include <linux/stringify.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",
        .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,
 };
        },
        .id_table = ice40_fpga_spi_ids,
 };
This page took 0.026037 seconds and 4 git commands to generate.