spidev compatible - Added adjustment for 4.12

4.12 includes an extra compatible device, patch adjusted accordingly
This commit is contained in:
Tonymac32 2017-05-15 01:12:30 -04:00 committed by GitHub
parent bc683f3d13
commit b73d015413

View File

@ -116,10 +116,11 @@ diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 9e2e099..3a0f0a7 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -697,6 +697,7 @@ static const struct of_device_id spidev_dt_ids[] = {
@@ -697,7 +697,8 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "ge,achc" },
{ .compatible = "semtech,sx1301" },
+ { .compatible = "rockchip,spi_tinker" },
{},
};