diff --git a/patch/kernel/archive/meson64-6.17/drv-spi-spidev-remove-warnings.patch b/patch/kernel/archive/meson64-6.17/drv-spi-spidev-remove-warnings.patch index 7c50ec7647..013ac0fce5 100644 --- a/patch/kernel/archive/meson64-6.17/drv-spi-spidev-remove-warnings.patch +++ b/patch/kernel/archive/meson64-6.17/drv-spi-spidev-remove-warnings.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 14 Aug 2024 16:33:07 +0000 -Subject: add armbian,spi-dev to for bare spidev support +Subject: rockchip64: edge: 6.10.5 drv:spi:spidev remove warnings Signed-off-by: John Doe --- @@ -9,7 +9,7 @@ Signed-off-by: John Doe 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c -index 111111111111..222222222222 100644 +index 5300c942a2a4..67e802d5419d 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -703,6 +703,7 @@ static const struct class spidev_class = { @@ -17,17 +17,17 @@ index 111111111111..222222222222 100644 */ static const struct spi_device_id spidev_spi_ids[] = { + { .name = "spi-dev" }, + { .name = /* abb */ "spi-sensor" }, { .name = /* cisco */ "spi-petra" }, { .name = /* dh */ "dhcom-board" }, - { .name = /* elgin */ "jg10309-01" }, -@@ -735,6 +736,7 @@ static int spidev_of_check(struct device *dev) +@@ -736,6 +737,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 = "abb,spi-sensor", .data = &spidev_of_check }, { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "dh,dhcom-board", .data = &spidev_of_check }, - { .compatible = "elgin,jg10309-01", .data = &spidev_of_check }, -- Armbian