diff --git a/patch/kernel/archive/meson64-6.14/drv-spi-spidev-remove-warnings.patch b/patch/kernel/archive/meson64-6.14/drv-spi-spidev-remove-warnings.patch index b480422c87..1863bd8d8f 100644 --- a/patch/kernel/archive/meson64-6.14/drv-spi-spidev-remove-warnings.patch +++ b/patch/kernel/archive/meson64-6.14/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: rockchip64: edge: 6.10.5 drv:spi:spidev remove warnings +Subject: add armbian,spi-dev to for bare spidev support Signed-off-by: John Doe --- @@ -12,15 +12,15 @@ diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 111111111111..222222222222 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c -@@ -699,6 +699,7 @@ static const struct class spidev_class = { - }; - +@@ -703,6 +703,7 @@ static const struct class spidev_class = { + * spidev_dt_ids array below. Both arrays are kept in the same ordering. + */ static const struct spi_device_id spidev_spi_ids[] = { + { .name = "spi-dev" }, - { .name = "bh2228fv" }, - { .name = "dh2228fv" }, - { .name = "jg10309-01" }, -@@ -729,6 +730,7 @@ static int spidev_of_check(struct device *dev) + { .name = /* cisco */ "spi-petra" }, + { .name = /* dh */ "dhcom-board" }, + { .name = /* elgin */ "jg10309-01" }, +@@ -734,6 +735,7 @@ static int spidev_of_check(struct device *dev) } static const struct of_device_id spidev_dt_ids[] = {