diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-11-09 04:07:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-09 11:43:07 -0500 |
commit | 24bc89716163b4e30c1b71c9f4bd020387b13c96 (patch) | |
tree | 09300bc7c47399f8816a1fd18349c1ef93cbaa99 | |
parent | e6811d1d7a6a38ee637fe219c3b67dbfe17e8b3f (diff) |
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>
-rw-r--r-- | drivers/spi/spi-tegra20-slink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index 07dc7359fb12..7882b50329e2 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c | |||
@@ -1109,8 +1109,8 @@ const struct tegra_slink_chip_data tegra20_spi_cdata = { | |||
1109 | }; | 1109 | }; |
1110 | 1110 | ||
1111 | static struct of_device_id tegra_slink_of_match[] __devinitconst = { | 1111 | static struct of_device_id tegra_slink_of_match[] __devinitconst = { |
1112 | { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, | ||
1113 | { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, | 1112 | { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, |
1113 | { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, | ||
1114 | {} | 1114 | {} |
1115 | }; | 1115 | }; |
1116 | MODULE_DEVICE_TABLE(of, tegra_slink_of_match); | 1116 | MODULE_DEVICE_TABLE(of, tegra_slink_of_match); |