Skip to content

Commit 0c3c4b4

Browse files
Phil Elwelll1k
Phil Elwell
authored andcommitted
spidev: Add "spidev" compatible string to silence warning
See: raspberrypi/linux#1054
1 parent ecf6085 commit 0c3c4b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spidev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ static const struct of_device_id spidev_dt_ids[] = {
677677
{ .compatible = "lineartechnology,ltc2488" },
678678
{ .compatible = "ge,achc" },
679679
{ .compatible = "semtech,sx1301" },
680+
{ .compatible = "spidev" },
680681
{},
681682
};
682683
MODULE_DEVICE_TABLE(of, spidev_dt_ids);

0 commit comments

Comments
 (0)