diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-07-05 16:15:18 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-06 01:36:32 -0400 |
commit | f7f678a06326ebafe9005203c0b2fa06885fd12c (patch) | |
tree | 343a7cecf6a89af98be12b9efcdcd2e49a41d29a | |
parent | a6b0919140b49e0871584362ae0cf1d18c476058 (diff) |
gpio/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/gpio/gpio_nvidia.txt | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt index afb3ff3134c8..64aac39e6edc 100644 --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt +++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | NVIDIA Tegra 2 GPIO controller | 1 | NVIDIA Tegra 2 GPIO controller |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra250-gpio" | 4 | - compatible : "nvidia,tegra20-gpio" |
5 | - #gpio-cells : Should be two. The first cell is the pin number and the | 5 | - #gpio-cells : Should be two. The first cell is the pin number and the |
6 | second cell is used to specify optional parameters (currently unused). | 6 | second cell is used to specify optional parameters (currently unused). |
7 | - gpio-controller : Marks the device node as a GPIO controller. | 7 | - gpio-controller : Marks the device node as a GPIO controller. |
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 13afb881ffc3..747eb40e8afe 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -347,7 +347,7 @@ static int __init tegra_gpio_init(void) | |||
347 | * driver is converted into a platform_device | 347 | * driver is converted into a platform_device |
348 | */ | 348 | */ |
349 | tegra_gpio_chip.of_node = of_find_compatible_node(NULL, NULL, | 349 | tegra_gpio_chip.of_node = of_find_compatible_node(NULL, NULL, |
350 | "nvidia,tegra250-gpio"); | 350 | "nvidia,tegra20-gpio"); |
351 | #endif /* CONFIG_OF_GPIO */ | 351 | #endif /* CONFIG_OF_GPIO */ |
352 | 352 | ||
353 | gpiochip_add(&tegra_gpio_chip); | 353 | gpiochip_add(&tegra_gpio_chip); |