diff --git a/patch/kernel/archive/meson64-6.4/drv-spi-spidev-remove-warnings.patch b/patch/kernel/archive/meson64-6.4/drv-spi-spidev-remove-warnings.patch index 77584741c7..6f18df7556 100644 --- a/patch/kernel/archive/meson64-6.4/drv-spi-spidev-remove-warnings.patch +++ b/patch/kernel/archive/meson64-6.4/drv-spi-spidev-remove-warnings.patch @@ -7,15 +7,16 @@ Remove SPIdev warnings - ca478cc4e563655d99fd3380d3b1217481d6da7e: The-going <48602507+The-going@users.noreply.github.com>: 'Bugfix spidev (#3737)' - e7bd9b8f13af9ee054f44a422b2aca19746b9244: Tony : 'Add Spidev workarounds and clean patches (WIP) (#3812)' +- rpardini: fix for 6.4-rc5 --- drivers/spi/spidev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c -index a1ea093795cf..5dcc82c6a107 100644 +index 39d94c850839..5ae87eb7190b 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c -@@ -704,6 +704,7 @@ static const struct file_operations spidev_fops = { +@@ -703,6 +703,7 @@ static const struct file_operations spidev_fops = { static struct class *spidev_class; static const struct spi_device_id spidev_spi_ids[] = { @@ -23,14 +24,14 @@ index a1ea093795cf..5dcc82c6a107 100644 { .name = "dh2228fv" }, { .name = "ltc2488" }, { .name = "sx1301" }, -@@ -730,6 +731,7 @@ static int spidev_of_check(struct device *dev) +@@ -731,6 +732,7 @@ static int spidev_of_check(struct device *dev) } static const struct of_device_id spidev_dt_ids[] = { + { .compatible = "armbian,spi-dev", .data = &spidev_of_check }, - { .compatible = "rohm,dh2228fv", .data = &spidev_of_check }, + { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, + { .compatible = "dh,dhcom-board", .data = &spidev_of_check }, { .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check }, - { .compatible = "semtech,sx1301", .data = &spidev_of_check }, -- Armbian