Skip to content

Commit 368b0be

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
spidev: Add "spidev" compatible string to silence warning
See: #1054
1 parent 42d3e81 commit 368b0be

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
@@ -706,6 +706,7 @@ static struct class *spidev_class;
706706
#ifdef CONFIG_OF
707707
static const struct of_device_id spidev_dt_ids[] = {
708708
{ .compatible = "rohm,dh2228fv" },
709+
{ .compatible = "spidev" },
709710
{},
710711
};
711712
MODULE_DEVICE_TABLE(of, spidev_dt_ids);

0 commit comments

Comments
 (0)