Skip to content

Commit ef7970f

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
spidev: Add "spidev" compatible string to silence warning
See: #1054
1 parent b303db9 commit ef7970f

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
@@ -694,6 +694,7 @@ static struct class *spidev_class;
694694
static const struct of_device_id spidev_dt_ids[] = {
695695
{ .compatible = "rohm,dh2228fv" },
696696
{ .compatible = "lineartechnology,ltc2488" },
697+
{ .compatible = "spidev" },
697698
{},
698699
};
699700
MODULE_DEVICE_TABLE(of, spidev_dt_ids);

0 commit comments

Comments
 (0)