diff options
| author | Laxman Dewangan <ldewangan@nvidia.com> | 2017-06-23 04:54:44 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-24 05:35:09 -0400 |
| commit | c7e77c0c2f2109fb1c0b71ff1c41ee65fd60e09d (patch) | |
| tree | 4ea05a86b768bc7906eba8404ad271f7e475d781 /drivers/gpio | |
| parent | d9e7472f4c8bec5f2b9d5092b11b098af7b2c206 (diff) | |
gpio: t186: Add SoC in the file static variables
Rename the variable such that it should have SoC name
as there is similar variable for other SoCs and have
the SoC name there.
Example:
tegra_gpio_cinfo to tegra186_gpio_cinfo,
Change-Id: I4d90d3d985c6645ee219665b7543f485bd10ed2d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1507778
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpio')
| -rw-r--r-- | drivers/gpio/gpio-tegra186.c | 12 |
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 | ||
| 314 | static struct tegra_gpio_port_soc_info tegra_gpio_cinfo[] = { | 314 | static 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 | ||
| 341 | static struct tegra_gpio_port_soc_info tegra_aon_gpio_cinfo[] = { | 341 | static 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 = { | |||
| 1246 | static const struct tegra_gpio_soc_info t186_gpio_soc = { | 1246 | static 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 = { | |||
| 1255 | static const struct tegra_gpio_soc_info t186_aon_gpio_soc = { | 1255 | static 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 | }; |
