diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 922d778df064..cfe9ae1239fe 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -691,6 +691,9 @@ static const struct spi_device_id spidev_spi_ids[] = { { .name = "m53cpld" }, { .name = "spi-petra" }, { .name = "spi-authenta" }, +#if defined(CONFIG_ARCH_MESON_ODROID_COMMON) + { .name = "spidev" }, +#endif {}, }; MODULE_DEVICE_TABLE(spi, spidev_spi_ids); @@ -705,6 +708,9 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "menlo,m53cpld" }, { .compatible = "cisco,spi-petra" }, { .compatible = "micron,spi-authenta" }, +#if defined(CONFIG_ARCH_MESON_ODROID_COMMON) + { .compatible = "linux,spidev" }, +#endif {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids);