Skip to content

Commit d836d69

Browse files
Phil ElwellTiejunChina
Phil Elwell
authored andcommitted
spidev: Add "spidev" compatible string to silence warning
See: #1054
1 parent 187934f commit d836d69

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
@@ -669,6 +669,7 @@ static const struct of_device_id spidev_dt_ids[] = {
669669
{ .compatible = "lineartechnology,ltc2488" },
670670
{ .compatible = "ge,achc" },
671671
{ .compatible = "semtech,sx1301" },
672+
{ .compatible = "spidev" },
672673
{},
673674
};
674675
MODULE_DEVICE_TABLE(of, spidev_dt_ids);

0 commit comments

Comments
 (0)