spi/tegra: Use engineering names in DT compatible property
authorStephen Warren <swarren@nvidia.com>
Tue, 5 Jul 2011 20:18:02 +0000 (14:18 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Jul 2011 05:38:30 +0000 (23:38 -0600)
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>
Documentation/devicetree/bindings/spi/spi_nvidia.txt
drivers/spi/spi-tegra.c

index bde450b50fcd3936829e0b8914f9fe336eb3b383..6b9e51896693c8a183c1eb155756c2bd2e1c81ff 100644 (file)
@@ -1,5 +1,5 @@
 NVIDIA Tegra 2 SPI device
 
 Required properties:
-- compatible : should be "nvidia,tegra250-spi".
+- compatible : should be "nvidia,tegra20-spi".
 - gpios : should specify GPIOs used for chipselect.
index a43ceeb1063a7514389063797c94ee805a90cefb..a5a6302dc8e062911da66693ea18903f67247879 100644 (file)
@@ -598,7 +598,7 @@ MODULE_ALIAS("platform:spi_tegra");
 
 #ifdef CONFIG_OF
 static struct of_device_id spi_tegra_of_match_table[] __devinitdata = {
-       { .compatible = "nvidia,tegra250-spi", },
+       { .compatible = "nvidia,tegra20-spi", },
        {}
 };
 MODULE_DEVICE_TABLE(of, spi_tegra_of_match_table);