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: raspberrypi/linux#1054

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
  • Loading branch information
Phil Elwell authored and Felix Radensky committed Jan 12, 2020
1 parent bddf24a commit dc5795e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spidev.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "ge,achc" },
{ .compatible = "semtech,sx1301" },
{ .compatible = "spidev" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
Expand Down

0 comments on commit dc5795e

Please sign in to comment.