Skip to content

Commit 5478a4f

Browse files
geertubroonie
authored andcommitted
spi: spidev: Add missing spi_device_id for jg10309-01
When the of_device_id entry for "elgin,jg10309-01" 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 elgin,jg10309-01 Fix module autoloading and shut up the warning by adding the missing entry. Fixes: 5f3eee1 ("spi: spidev: Add an entry for elgin,jg10309-01") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/54bbb9d8a8db7e52d13e266f2d4a9bcd8b42a98a.1725366625.git.geert+renesas@glider.be Signed-off-by: Mark Brown <[email protected]>
1 parent 709df70 commit 5478a4f

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
@@ -702,6 +702,7 @@ static const struct class spidev_class = {
702702
static const struct spi_device_id spidev_spi_ids[] = {
703703
{ .name = "bh2228fv" },
704704
{ .name = "dh2228fv" },
705+
{ .name = "jg10309-01" },
705706
{ .name = "ltc2488" },
706707
{ .name = "sx1301" },
707708
{ .name = "bk4" },

0 commit comments

Comments
 (0)