Skip to content

Commit ba0f221

Browse files
pelwellpopcornmix
authored andcommitted
spi: spidev: Restore loading from Device Tree
As happens occasionally, an upstream change has once again prevented spidev from being loaded via Device Tree. We now need "spidev" to be included in the new spi_device_id list, otherwise although the spidev driver gets loaded no /dev/spidev*.* entries will appear. Signed-off-by: Phil Elwell <[email protected]>
1 parent 9850d04 commit ba0f221

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
@@ -710,6 +710,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
710710
{ .name = "spi-authenta" },
711711
{ .name = "em3581" },
712712
{ .name = "si3210" },
713+
{ .name = "spidev" },
713714
{},
714715
};
715716
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);

0 commit comments

Comments
 (0)