projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44aca82
)
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
popcornmix
<popcornmix@gmail.com>
Mon, 13 May 2019 23:07:51 +0000
(
00:07
+0100)
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
cda1071
..
4f3779d
100644
(file)
--- a/
drivers/spi/spidev.c
+++ b/
drivers/spi/spidev.c
@@
-669,6
+669,7
@@
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "ge,achc" },
{ .compatible = "semtech,sx1301" },
+ { .compatible = "spidev" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);