105-add-linux-spidev-compatible.patch 500 B

123456789101112131415
  1. Add the linux,spidev compatible in spidev
  2. Several device in ramips have this binding in the dts
  3. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
  4. ---
  5. --- a/drivers/spi/spidev.c
  6. +++ b/drivers/spi/spidev.c
  7. @@ -695,6 +695,7 @@ static struct class *spidev_class;
  8. static const struct of_device_id spidev_dt_ids[] = {
  9. { .compatible = "rohm,dh2228fv" },
  10. { .compatible = "lineartechnology,ltc2488" },
  11. + { .compatible = "siliconlabs,si3210" },
  12. {},
  13. };
  14. MODULE_DEVICE_TABLE(of, spidev_dt_ids);