]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mchp48l640: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Wed, 2 Feb 2022 14:34:04 +0000 (14:34 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 7 Feb 2022 15:31:22 +0000 (16:31 +0100)
commit7aba4b2c456791e7447a5acc39001df846f88c12
treecdd913addbeccc65f4b94a8e00b61af9d605d15a
parentd247109d86d2190e9d91c400ab47654f35fe38ef
mtd: mchp48l640: 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>
Reviewed-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220202143404.16070-4-broonie@kernel.org
drivers/mtd/devices/mchp48l640.c