mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
ODROID-C5: spi: Add compatible name "linux,spidev"
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com> Change-Id: I13f0a3d2ff898f0e8e3b504a38ea84666dcbf8d0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user