ramips: fix cd-poll sd card remove randomly
[openwrt/staging/wigyori.git] / target / linux / generic / patches-4.4 / 105-add-linux-spidev-compatible.patch
1 Add the linux,spidev compatible in spidev
2 Several device in ramips have this binding in the dts
3
4 Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
5 ---
6 --- a/drivers/spi/spidev.c
7 +++ b/drivers/spi/spidev.c
8 @@ -695,6 +695,7 @@ static struct class *spidev_class;
9 static const struct of_device_id spidev_dt_ids[] = {
10 { .compatible = "rohm,dh2228fv" },
11 { .compatible = "lineartechnology,ltc2488" },
12 + { .compatible = "siliconlabs,si3210" },
13 {},
14 };
15 MODULE_DEVICE_TABLE(of, spidev_dt_ids);