]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc/tegra: pmc: Use TEGRA186_ prefix for GPIO names
authorThierry Reding <treding@nvidia.com>
Wed, 23 Jan 2019 11:38:43 +0000 (12:38 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 25 Jan 2019 12:46:50 +0000 (13:46 +0100)
The new prefix allows the GPIOs to be uniquely identified on a per-chip
basis, which makes it easier to distinguish Tegra186 specific GPIOs from
those of later chips such as Tegra194 which supports a very different
set of GPIOs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c

index 7ea3280279ff56cb9d8932d37f16d9c7268f33cf..13ae8cb5b6b00fd5192c5c8899863af1173a036e 100644 (file)
@@ -2438,7 +2438,7 @@ static void tegra186_pmc_setup_irq_polarity(struct tegra_pmc *pmc,
 }
 
 static const struct tegra_wake_event tegra186_wake_events[] = {
-       TEGRA_WAKE_GPIO("power", 29, 1, TEGRA_AON_GPIO(FF, 0)),
+       TEGRA_WAKE_GPIO("power", 29, 1, TEGRA186_AON_GPIO(FF, 0)),
        TEGRA_WAKE_IRQ("rtc", 73, 10),
 };