aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-07-05 14:15:18 -0600
committerGrant Likely <grant.likely@secretlab.ca>2011-07-05 23:36:32 -0600
commitf7f678a06326ebafe9005203c0b2fa06885fd12c (patch)
tree343a7cecf6a89af98be12b9efcdcd2e49a41d29a
parenta6b0919140b49e0871584362ae0cf1d18c476058 (diff)
downloadkernel_samsung_smdk4412-f7f678a06326ebafe9005203c0b2fa06885fd12c.zip
kernel_samsung_smdk4412-f7f678a06326ebafe9005203c0b2fa06885fd12c.tar.gz
kernel_samsung_smdk4412-f7f678a06326ebafe9005203c0b2fa06885fd12c.tar.bz2
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.txt2
-rw-r--r--drivers/gpio/gpio-tegra.c2
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 afb3ff3..64aac39 100644
--- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt
@@ -1,7 +1,7 @@
NVIDIA Tegra 2 GPIO controller
Required properties:
-- compatible : "nvidia,tegra250-gpio"
+- compatible : "nvidia,tegra20-gpio"
- #gpio-cells : Should be two. The first cell is the pin number and the
second cell is used to specify optional parameters (currently unused).
- 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 13afb88..747eb40 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -347,7 +347,7 @@ static int __init tegra_gpio_init(void)
* driver is converted into a platform_device
*/
tegra_gpio_chip.of_node = of_find_compatible_node(NULL, NULL,
- "nvidia,tegra250-gpio");
+ "nvidia,tegra20-gpio");
#endif /* CONFIG_OF_GPIO */
gpiochip_add(&tegra_gpio_chip);