kernel/modules/other/mlxreg: add new package
[openwrt/openwrt.git] / target / linux / generic / pending-6.1 / 110-v6.3-0001-spidev-Add-Silicon-Labs-EM3581-device-compatible.patch
index 5216d6a7068e104677ddf67f3932d1bb64be14b6..ebeeae2f8fd63621de34cbae40d7876633972178 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
 
 --- a/drivers/spi/spidev.c
 +++ b/drivers/spi/spidev.c
-@@ -691,6 +691,7 @@ static const struct spi_device_id spidev
+@@ -700,6 +700,7 @@ static const struct spi_device_id spidev
        { .name = "m53cpld" },
        { .name = "spi-petra" },
        { .name = "spi-authenta" },
@@ -22,11 +22,11 @@ Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
        {},
  };
  MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
-@@ -705,6 +706,7 @@ static const struct of_device_id spidev_
-       { .compatible = "menlo,m53cpld" },
-       { .compatible = "cisco,spi-petra" },
-       { .compatible = "micron,spi-authenta" },
-+      { .compatible = "silabs,em3581" },
+@@ -726,6 +727,7 @@ static const struct of_device_id spidev_
+       { .compatible = "menlo,m53cpld", .data = &spidev_of_check },
+       { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
+       { .compatible = "micron,spi-authenta", .data = &spidev_of_check },
++      { .compatible = "silabs,em3581", .data = &spidev_of_check },
        {},
  };
  MODULE_DEVICE_TABLE(of, spidev_dt_ids);