projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5127c42
)
spi: spidev: Add missing spi_device_id for bh2228fv
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Tue, 30 Jul 2024 13:35:47 +0000
(15:35 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 30 Jul 2024 16:03:35 +0000
(17:03 +0100)
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>
drivers/spi/spidev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spidev.c
b/drivers/spi/spidev.c
index 05e6d007f9a7f617c52c20fbc5f7dfa16d9838a4..5304728c68c20d3a7e62538585993c013744b3b7 100644
(file)
--- 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" },