diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-09-30 09:20:25 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-09-30 09:20:25 +1000 |
commit | 5174c38a40bef8670f30b5189206ec1f24a513c4 (patch) | |
tree | 374b77e157fd56b826902a94c178d03ff72c2dc7 | |
parent | f9b0b1edb8e2e67f78f9486ce88483722398bead (diff) | |
parent | 2a2a79577ddae7d5314b2f57ca86b44d794403d5 (diff) | |
download | devel-5174c38a40bef8670f30b5189206ec1f24a513c4.tar.gz |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga.git
-rw-r--r-- | drivers/fpga/ice40-spi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/fpga/ice40-spi.c b/drivers/fpga/ice40-spi.c index 69dec5af23c366..029d3cdb918d12 100644 --- a/drivers/fpga/ice40-spi.c +++ b/drivers/fpga/ice40-spi.c @@ -192,12 +192,19 @@ static const struct of_device_id ice40_fpga_of_match[] = { }; MODULE_DEVICE_TABLE(of, ice40_fpga_of_match); +static const struct spi_device_id ice40_fpga_spi_ids[] = { + { .name = "ice40-fpga-mgr", }, + {}, +}; +MODULE_DEVICE_TABLE(spi, ice40_fpga_spi_ids); + static struct spi_driver ice40_fpga_driver = { .probe = ice40_fpga_probe, .driver = { .name = "ice40spi", .of_match_table = of_match_ptr(ice40_fpga_of_match), }, + .id_table = ice40_fpga_spi_ids, }; module_spi_driver(ice40_fpga_driver); |