build/patch/kernel/archive/rockchip-4.4/120-tweak_spidev_compatible.patch

14 lines
470 B
Diff

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index b388c322..4b6f50c9 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -695,7 +695,7 @@ static struct class *spidev_class;
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
- { .compatible = "rockchip,spidev" },
+ { .compatible = "rockchip,spi_tinker" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);