Commit 6fec919b authored by Jiri Prchal's avatar Jiri Prchal Committed by Mark Brown

spi: spidev: add compatible value for LTC2488

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: default avatarMark Brown <broonie@kernel.org>
parent d770e558
...@@ -693,6 +693,7 @@ static struct class *spidev_class; ...@@ -693,6 +693,7 @@ static struct class *spidev_class;
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id spidev_dt_ids[] = { static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" }, { .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, spidev_dt_ids); MODULE_DEVICE_TABLE(of, spidev_dt_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment