Skip to content

Commit f6f184e

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

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
@@ -693,6 +693,7 @@ static struct class *spidev_class;
693693
#ifdef CONFIG_OF
694694
static const struct of_device_id spidev_dt_ids[] = {
695695
{ .compatible = "rohm,dh2228fv" },
696+
{ .compatible = "spidev" },
696697
{},
697698
};
698699
MODULE_DEVICE_TABLE(of, spidev_dt_ids);

0 commit comments

Comments
 (0)