diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-07-05 16:18:02 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-06 01:38:30 -0400 |
commit | 22032c7774a9619770a1ca92f4f895d69efff386 (patch) | |
tree | 2ed54c0375093a219841e8ca9224a382a1e05c1e | |
parent | fb6440955fcc5d175397fd0e9a00c6967cb26a74 (diff) |
spi/tegra: Use engineering names in DT compatible property
Engineering names are more stable than marketing names. Hence, use them
for Device Tree compatible properties instead.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi_nvidia.txt | 2 | ||||
-rw-r--r-- | drivers/spi/spi-tegra.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi_nvidia.txt b/Documentation/devicetree/bindings/spi/spi_nvidia.txt index bde450b50fcd..6b9e51896693 100644 --- a/Documentation/devicetree/bindings/spi/spi_nvidia.txt +++ b/Documentation/devicetree/bindings/spi/spi_nvidia.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | NVIDIA Tegra 2 SPI device | 1 | NVIDIA Tegra 2 SPI device |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : should be "nvidia,tegra250-spi". | 4 | - compatible : should be "nvidia,tegra20-spi". |
5 | - gpios : should specify GPIOs used for chipselect. | 5 | - gpios : should specify GPIOs used for chipselect. |
diff --git a/drivers/spi/spi-tegra.c b/drivers/spi/spi-tegra.c index a43ceeb1063a..a5a6302dc8e0 100644 --- a/drivers/spi/spi-tegra.c +++ b/drivers/spi/spi-tegra.c | |||
@@ -598,7 +598,7 @@ MODULE_ALIAS("platform:spi_tegra"); | |||
598 | 598 | ||
599 | #ifdef CONFIG_OF | 599 | #ifdef CONFIG_OF |
600 | static struct of_device_id spi_tegra_of_match_table[] __devinitdata = { | 600 | static struct of_device_id spi_tegra_of_match_table[] __devinitdata = { |
601 | { .compatible = "nvidia,tegra250-spi", }, | 601 | { .compatible = "nvidia,tegra20-spi", }, |
602 | {} | 602 | {} |
603 | }; | 603 | }; |
604 | MODULE_DEVICE_TABLE(of, spi_tegra_of_match_table); | 604 | MODULE_DEVICE_TABLE(of, spi_tegra_of_match_table); |