projects
/
linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0f823
)
spidev: Add "spidev" compatible string to silence warning
author
Phil Elwell
<phil@raspberrypi.org>
Tue, 14 Jul 2015 09:26:09 +0000
(10:26 +0100)
committer
Raspbian kernel package updater
<root@raspbian.org>
Sun, 8 Oct 2017 00:59:40 +0000
(
00:59
+0000)
See: https://github.com/raspberrypi/linux/issues/1054
drivers/spi/spidev.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spidev.c
b/drivers/spi/spidev.c
index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e4463fe5e 100644
(file)
--- a/
drivers/spi/spidev.c
+++ b/
drivers/spi/spidev.c
@@
-696,6
+696,7
@@
static struct class *spidev_class;
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
+ { .compatible = "spidev" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);