mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
spi: tegra: sequence compatible strings as per preference
Sequence compatible list for tegra20-slink driver to first look for Tegra30 and then Tegra20. Tegra30 have additional feature in HW which need to be utilize if it is provided from DT. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
e6811d1d7a
commit
24bc897161
@ -1109,8 +1109,8 @@ const struct tegra_slink_chip_data tegra20_spi_cdata = {
|
||||
};
|
||||
|
||||
static struct of_device_id tegra_slink_of_match[] __devinitconst = {
|
||||
{ .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, },
|
||||
{ .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, },
|
||||
{ .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, tegra_slink_of_match);
|
||||
|
Loading…
Reference in New Issue
Block a user