0c5f0eef10c63c88000700dc6da36e63d7b5c76f
[openwrt/staging/jogo.git] /
1 From 21a313f8517a1be2b0962710ffe9ad94e7334ba1 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 14 Jul 2015 10:26:09 +0100
4 Subject: [PATCH] spidev: Add "spidev" compatible string to silence warning
5
6 See: https://github.com/raspberrypi/linux/issues/1054
7 ---
8 drivers/spi/spidev.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/spi/spidev.c
12 +++ b/drivers/spi/spidev.c
13 @@ -697,6 +697,7 @@ static const struct of_device_id spidev_
14 { .compatible = "rohm,dh2228fv" },
15 { .compatible = "lineartechnology,ltc2488" },
16 { .compatible = "siliconlabs,si3210" },
17 + { .compatible = "spidev" },
18 {},
19 };
20 MODULE_DEVICE_TABLE(of, spidev_dt_ids);