ODROID-COMMON: spi/spidev: Add compatible name

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I984b823a2df2c853fa317fda3a040903ca70eb6f
This commit is contained in:
steve.jeong
2022-07-19 17:23:06 +09:00
committed by Mauro (mdrjr) Ribeiro
parent ba00990306
commit 98edfc1e67

View File

@@ -714,6 +714,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
{ .name = "spi-authenta" },
{ .name = "em3581" },
{ .name = "si3210" },
{ .name = "spi-dev" },
{},
};
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
@@ -742,6 +743,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "semtech,sx1301", .data = &spidev_of_check },
{ .compatible = "silabs,em3581", .data = &spidev_of_check },
{ .compatible = "silabs,si3210", .data = &spidev_of_check },
{ .compatible = "odroid,spi-dev", .data = &spidev_of_check },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);