diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-07-30 16:35:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-30 19:03:35 +0300 |
commit | e4c4638b6a10427d30e29d22351c375886025f47 (patch) | |
tree | 399babd85f8e865ea8ec648c642f216d8e8beffb /drivers/spi | |
parent | 5127c42c77de18651aa9e8e0a3ced190103b449c (diff) | |
download | linux-e4c4638b6a10427d30e29d22351c375886025f47.tar.xz |
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: fc28d1c1fe3b3e2f ("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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spidev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 05e6d007f9a7..5304728c68c2 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -700,6 +700,7 @@ static const struct class spidev_class = { }; static const struct spi_device_id spidev_spi_ids[] = { + { .name = "bh2228fv" }, { .name = "dh2228fv" }, { .name = "ltc2488" }, { .name = "sx1301" }, |