mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
123cb3793f
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.53 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16554 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
26 lines
919 B
Diff
26 lines
919 B
Diff
From 2f223e0e4931486fbc32df3c89bc16ff1ca434bf Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 29 Nov 2021 12:14:49 +0000
|
|
Subject: [PATCH 0320/1085] 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
|
|
@@ -699,6 +699,7 @@ static const struct file_operations spid
|
|
static struct class *spidev_class;
|
|
|
|
static const struct spi_device_id spidev_spi_ids[] = {
|
|
+ { .name = "spidev" },
|
|
{ .name = "bh2228fv" },
|
|
{ .name = "dh2228fv" },
|
|
{ .name = "jg10309-01" },
|