mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
904 B
Diff
26 lines
904 B
Diff
From 03d0602f418f7b2b0fc18c0eb3edc91cf85824a0 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 29 Nov 2021 12:14:49 +0000
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/spi/spidev.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -687,6 +687,7 @@ static const struct file_operations spid
|
|
static struct class *spidev_class;
|
|
|
|
static const struct spi_device_id spidev_spi_ids[] = {
|
|
+ { .name = "spidev" },
|
|
{ .name = "dh2228fv" },
|
|
{ .name = "ltc2488" },
|
|
{ .name = "sx1301" },
|