Skip to content

Commit

Permalink
spidev: Add "spidev" compatible string to silence warning
Browse files Browse the repository at this point in the history
See: #1054
  • Loading branch information
Phil Elwell authored and popcornmix committed Feb 20, 2017
1 parent 35a7468 commit dc08459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spidev.c
Expand Up @@ -696,6 +696,7 @@ static struct class *spidev_class;
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "spidev" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
Expand Down

0 comments on commit dc08459

Please sign in to comment.