]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
spi: spidev: add compatible value for LTC2488
authorJiri Prchal <jiri.prchal@aksignal.cz>
Thu, 25 Jun 2015 11:44:19 +0000 (13:44 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 12:34:22 +0000 (13:34 +0100)
Since spidev is no more allowed to use in DT and is really loudly warned about
it I'd like to add this compatible value.
(Geert Uytterhoeven wrote: "Add the compatible value for your device to the
spidev_dt_ids[] array in drivers/spi/spidev.c.")

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c

index dd616ff0ffc52542c3c8f8aaaf7c7d30bb9fd219..c7de64171c452325ab43884b501977a33f724b93 100644 (file)
@@ -693,6 +693,7 @@ static struct class *spidev_class;
 #ifdef CONFIG_OF
 static const struct of_device_id spidev_dt_ids[] = {
        { .compatible = "rohm,dh2228fv" },
+       { .compatible = "lineartechnology,ltc2488" },
        {},
 };
 MODULE_DEVICE_TABLE(of, spidev_dt_ids);