]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: 93xx46: Add SPI device ID table
authorMark Brown <broonie@kernel.org>
Wed, 22 Sep 2021 18:40:48 +0000 (19:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:10:15 +0000 (16:10 +0200)
commitefe68bb8551fc82c8fd946bd67882436284f6923
treeb9039174f5e189eb34262d62542d021edb5cc94a
parent3e6c52fbdd3dd0ab434c8b47dc1712e265f564f7
eeprom: 93xx46: 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 device ID table.

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