diff options
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 8db47f671708..02fa8fe2292a 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -565,6 +565,7 @@ static const struct dev_pm_ops tegra_gpio_pm_ops = { | |||
565 | * than their parents, so it won't report false recursion. | 565 | * than their parents, so it won't report false recursion. |
566 | */ | 566 | */ |
567 | static struct lock_class_key gpio_lock_class; | 567 | static struct lock_class_key gpio_lock_class; |
568 | static struct lock_class_key gpio_request_class; | ||
568 | 569 | ||
569 | static int tegra_gpio_probe(struct platform_device *pdev) | 570 | static int tegra_gpio_probe(struct platform_device *pdev) |
570 | { | 571 | { |
@@ -670,7 +671,8 @@ static int tegra_gpio_probe(struct platform_device *pdev) | |||
670 | 671 | ||
671 | bank = &tgi->bank_info[GPIO_BANK(gpio)]; | 672 | bank = &tgi->bank_info[GPIO_BANK(gpio)]; |
672 | 673 | ||
673 | irq_set_lockdep_class(irq, &gpio_lock_class); | 674 | irq_set_lockdep_class(irq, &gpio_lock_class, |
675 | &gpio_request_class); | ||
674 | irq_set_chip_data(irq, bank); | 676 | irq_set_chip_data(irq, bank); |
675 | irq_set_chip_and_handler(irq, &tgi->ic, handle_simple_irq); | 677 | irq_set_chip_and_handler(irq, &tgi->ic, handle_simple_irq); |
676 | } | 678 | } |