generic: 6.1: replace ipq40xx MDIO patch with upstream version
[openwrt/openwrt.git] / target / linux / generic / pending-6.1 / 110-v6.3-0002-spidev-Add-Silicon-Labs-SI3210-device-compatible.patch
index ffbed0c622bfcfe05d4380cc65dd9293d940cb57..db5b5800f4b1a0e4c14325c7dfa9de254e9f5274 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
 
 --- a/drivers/spi/spidev.c
 +++ b/drivers/spi/spidev.c
-@@ -692,6 +692,7 @@ static const struct spi_device_id spidev
+@@ -701,6 +701,7 @@ static const struct spi_device_id spidev
        { .name = "spi-petra" },
        { .name = "spi-authenta" },
        { .name = "em3581" },
@@ -22,11 +22,11 @@ Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
        {},
  };
  MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
-@@ -707,6 +708,7 @@ static const struct of_device_id spidev_
-       { .compatible = "cisco,spi-petra" },
-       { .compatible = "micron,spi-authenta" },
-       { .compatible = "silabs,em3581" },
-+      { .compatible = "silabs,si3210" },
+@@ -728,6 +729,7 @@ static const struct of_device_id spidev_
+       { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
+       { .compatible = "micron,spi-authenta", .data = &spidev_of_check },
+       { .compatible = "silabs,em3581", .data = &spidev_of_check },
++      { .compatible = "silabs,si3210", .data = &spidev_of_check },
        {},
  };
  MODULE_DEVICE_TABLE(of, spidev_dt_ids);