kernel: add missing patch
[oweals/openwrt.git] / target / linux / generic / pending-4.9 / 130-add-linux-spidev-compatible-si3210.patch
1 From: Giuseppe Lippolis <giu.lippolis@gmail.com>
2 Subject: Add the linux,spidev compatible in spidev Several device in ramips have this binding in the dts
3
4 Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
5 ---
6  drivers/spi/spidev.c | 1 +
7  1 file changed, 1 insertion(+)
8
9 diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
10 index 2e05046f866b..09d03763f39b 100644
11 --- a/drivers/spi/spidev.c
12 +++ b/drivers/spi/spidev.c
13 @@ -696,6 +696,7 @@ static struct class *spidev_class;
14  static const struct of_device_id spidev_dt_ids[] = {
15         { .compatible = "rohm,dh2228fv" },
16         { .compatible = "lineartechnology,ltc2488" },
17 +       { .compatible = "siliconlabs,si3210" },
18         {},
19  };
20  MODULE_DEVICE_TABLE(of, spidev_dt_ids);
21 -- 
22 2.11.0
23