Skip to content

Commit e4c4638

Browse files
geertubroonie
authored andcommitted
spi: spidev: Add missing spi_device_id for bh2228fv
When the of_device_id entry for "rohm,bh2228fv" was added, the corresponding spi_device_id was forgotten, causing a warning message during boot-up: SPI driver spidev has no spi_device_id for rohm,bh2228fv Fix module autoloading and shut up the warning by adding the missing entry. Fixes: fc28d1c ("spi: spidev: add correct compatible for Rohm BH2228FV") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/cb571d4128f41175f31319cd9febc829417ea167.1722346539.git.geert+renesas@glider.be Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5127c42 commit e4c4638

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spidev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ static const struct class spidev_class = {
700700
};
701701

702702
static const struct spi_device_id spidev_spi_ids[] = {
703+
{ .name = "bh2228fv" },
703704
{ .name = "dh2228fv" },
704705
{ .name = "ltc2488" },
705706
{ .name = "sx1301" },

0 commit comments

Comments
 (0)