kernel: Add support spi-nor, Eon EN25QH32
[openwrt/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 --- a/drivers/spi/spidev.c
10 +++ b/drivers/spi/spidev.c
11 @@ -696,6 +696,7 @@ static struct class *spidev_class;
12 static const struct of_device_id spidev_dt_ids[] = {
13 { .compatible = "rohm,dh2228fv" },
14 { .compatible = "lineartechnology,ltc2488" },
15 + { .compatible = "siliconlabs,si3210" },
16 {},
17 };
18 MODULE_DEVICE_TABLE(of, spidev_dt_ids);