spidev: Add "spidev" compatible string to silence warning

See: https://github.com/raspberrypi/linux/issues/1054
This commit is contained in:
Phil Elwell
2015-07-14 10:26:09 +01:00
committed by popcornmix
parent 01f8117482
commit 6a9ee14225

View File

@@ -706,6 +706,7 @@ static struct class *spidev_class;
#ifdef CONFIG_OF
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "spidev" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);