aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r--drivers/gpio/gpio-tegra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 5389be8c2b51..63cb643d4b5a 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -375,7 +375,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = {
375 .upper_offset = 0x80, 375 .upper_offset = 0x80,
376}; 376};
377 377
378static struct of_device_id tegra_gpio_of_match[] __devinitdata = { 378static struct of_device_id tegra_gpio_of_match[] = {
379 { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config }, 379 { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config },
380 { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config }, 380 { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config },
381 { }, 381 { },
@@ -386,7 +386,7 @@ static struct of_device_id tegra_gpio_of_match[] __devinitdata = {
386 */ 386 */
387static struct lock_class_key gpio_lock_class; 387static struct lock_class_key gpio_lock_class;
388 388
389static int __devinit tegra_gpio_probe(struct platform_device *pdev) 389static int tegra_gpio_probe(struct platform_device *pdev)
390{ 390{
391 const struct of_device_id *match; 391 const struct of_device_id *match;
392 struct tegra_gpio_soc_config *config; 392 struct tegra_gpio_soc_config *config;