mtd: dataflash: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Mon, 20 Jun 2022 15:23:13 +0000 (16:23 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 24 Jun 2022 18:47:38 +0000 (20:47 +0200)
commitac4f83482afbfd927d0fe118151b747cf175e724
tree27da5ddfb1edcec1a58a5e2da8be6c1c9d447e7a
parentc223a38d62e57aa60a890ea7247e3c58a54478e6
mtd: dataflash: 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: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220620152313.708768-1-broonie@kernel.org
drivers/mtd/devices/mtd_dataflash.c