]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: at25: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Thu, 23 Sep 2021 17:24:53 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:10:12 +0000 (16:10 +0200)
commit3e6c52fbdd3dd0ab434c8b47dc1712e265f564f7
tree4de714f2f5a06e342cce6b62023caa06e2d7cd88
parentd682cc4c4dcba13d9cb9d5e6e82c687b338338a1
eeprom: at25: Add SPI 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 an id_table listing the
SPI IDs for everything.

Fixes: 009adf84324f ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210923172453.4921-1-broonie@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at25.c