]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
spidev: Add "spidev" compatible string to silence warning
authorPhil Elwell <phil@raspberrypi.org>
Tue, 14 Jul 2015 09:26:09 +0000 (10:26 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 16 Feb 2018 22:06:47 +0000 (17:06 -0500)
See: https://github.com/raspberrypi/linux/issues/1054

drivers/spi/spidev.c

index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075131e1121 100644 (file)
@@ -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);