fpga: ice40-spi: Add SPI device ID table
authorMark Brown <broonie@kernel.org>
Mon, 27 Sep 2021 13:44:03 +0000 (14:44 +0100)
committerMoritz Fischer <mdf@kernel.org>
Mon, 27 Sep 2021 21:00:41 +0000 (14:00 -0700)
commit2a2a79577ddae7d5314b2f57ca86b44d794403d5
treedaff84fa7149f9f20bd20a14e0594b29d2de9da3
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29
fpga: ice40-spi: Add SPI device ID table

Currently autoloading for SPI devices does not use the DT ID table, it uses
SPI modalises. Supporting OF modalises is going to be difficult if not
impractical, an attempt was made but has been reverted, so ensure that
module autoloading works for this driver by adding a SPI ID table.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
drivers/fpga/ice40-spi.c