Skip to content

Commit

Permalink
spi/tegra: Use engineering names in DT compatible property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Grant Likely committed Jul 6, 2011
1 parent fb64409 commit 22032c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/spi/spi_nvidia.txt
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion drivers/spi/spi-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 22032c7

Please sign in to comment.