]> git.karo-electronics.de Git - linux-beck.git/commitdiff
BECK: silence the spidev warnings
authorOle Reinhardt <ole.reinhardt@kernelconcepts.de>
Wed, 8 Mar 2017 14:57:51 +0000 (15:57 +0100)
committerOle Reinhardt <ole.reinhardt@kernelconcepts.de>
Mon, 13 Mar 2017 13:25:55 +0000 (14:25 +0100)
drivers/spi/spidev.c

index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..488d0cbe3d59d59af30b6e762ad4b38df7322e9f 100644 (file)
@@ -696,6 +696,8 @@ static struct class *spidev_class;
 static const struct of_device_id spidev_dt_ids[] = {
        { .compatible = "rohm,dh2228fv" },
        { .compatible = "lineartechnology,ltc2488" },
+       /* BECK: silence the spidev warnings */
+       { .compatible = "spidev" },
        {},
 };
 MODULE_DEVICE_TABLE(of, spidev_dt_ids);