summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpio/gpio-tegra186.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index 6bcb61322..2b6264e81 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -311,7 +311,7 @@ struct tegra_gpio_port_soc_info {
311 .reg_offset = cind * 0x200, \ 311 .reg_offset = cind * 0x200, \
312} 312}
313 313
314static struct tegra_gpio_port_soc_info tegra_gpio_cinfo[] = { 314static struct tegra_gpio_port_soc_info tegra186_gpio_cinfo[] = {
315 TEGRA_MAIN_GPIO_PORT_INFO(A, 2, 0, 7), 315 TEGRA_MAIN_GPIO_PORT_INFO(A, 2, 0, 7),
316 TEGRA_MAIN_GPIO_PORT_INFO(B, 3, 0, 7), 316 TEGRA_MAIN_GPIO_PORT_INFO(B, 3, 0, 7),
317 TEGRA_MAIN_GPIO_PORT_INFO(C, 3, 1, 7), 317 TEGRA_MAIN_GPIO_PORT_INFO(C, 3, 1, 7),
@@ -338,7 +338,7 @@ static struct tegra_gpio_port_soc_info tegra_gpio_cinfo[] = {
338 TEGRA_MAIN_GPIO_PORT_INFO(DD, -1, -1, 0), 338 TEGRA_MAIN_GPIO_PORT_INFO(DD, -1, -1, 0),
339}; 339};
340 340
341static struct tegra_gpio_port_soc_info tegra_aon_gpio_cinfo[] = { 341static struct tegra_gpio_port_soc_info tegra186_aon_gpio_cinfo[] = {
342 TEGRA_AON_GPIO_PORT_INFO(S, 0, 1, 5), 342 TEGRA_AON_GPIO_PORT_INFO(S, 0, 1, 5),
343 TEGRA_AON_GPIO_PORT_INFO(U, 0, 2, 6), 343 TEGRA_AON_GPIO_PORT_INFO(U, 0, 2, 6),
344 TEGRA_AON_GPIO_PORT_INFO(V, 0, 4, 8), 344 TEGRA_AON_GPIO_PORT_INFO(V, 0, 4, 8),
@@ -1246,8 +1246,8 @@ static const struct dev_pm_ops tegra_gpio_pm = {
1246static const struct tegra_gpio_soc_info t186_gpio_soc = { 1246static const struct tegra_gpio_soc_info t186_gpio_soc = {
1247 .name = "tegra-gpio", 1247 .name = "tegra-gpio",
1248 .debug_fs_name = "tegra_gpio", 1248 .debug_fs_name = "tegra_gpio",
1249 .port = tegra_gpio_cinfo, 1249 .port = tegra186_gpio_cinfo,
1250 .nports = ARRAY_SIZE(tegra_gpio_cinfo), 1250 .nports = ARRAY_SIZE(tegra186_gpio_cinfo),
1251 .wake_table = tegra186_gpio_wakes, 1251 .wake_table = tegra186_gpio_wakes,
1252 .nwakes = ARRAY_SIZE(tegra186_gpio_wakes), 1252 .nwakes = ARRAY_SIZE(tegra186_gpio_wakes),
1253}; 1253};
@@ -1255,8 +1255,8 @@ static const struct tegra_gpio_soc_info t186_gpio_soc = {
1255static const struct tegra_gpio_soc_info t186_aon_gpio_soc = { 1255static const struct tegra_gpio_soc_info t186_aon_gpio_soc = {
1256 .name = "tegra-gpio-aon", 1256 .name = "tegra-gpio-aon",
1257 .debug_fs_name = "tegra-gpio-on", 1257 .debug_fs_name = "tegra-gpio-on",
1258 .port = tegra_aon_gpio_cinfo, 1258 .port = tegra186_aon_gpio_cinfo,
1259 .nports = ARRAY_SIZE(tegra_aon_gpio_cinfo), 1259 .nports = ARRAY_SIZE(tegra186_aon_gpio_cinfo),
1260 .wake_table = tegra186_aon_gpio_wakes, 1260 .wake_table = tegra186_aon_gpio_wakes,
1261 .nwakes = ARRAY_SIZE(tegra186_aon_gpio_wakes), 1261 .nwakes = ARRAY_SIZE(tegra186_aon_gpio_wakes),
1262}; 1262};