mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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 <phil@raspberrypi.com>
This commit is contained in:
@@ -718,6 +718,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
|
||||
{ .name = /* semtech */ "sx1301" },
|
||||
{ .name = /* silabs */ "em3581" },
|
||||
{ .name = /* silabs */ "si3210" },
|
||||
{ .name = "spidev" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
|
||||
|
||||
Reference in New Issue
Block a user