Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87284
b: refs/heads/master
c: 8ba55c5
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Tony Lindgren committed Mar 5, 2008
1 parent 4ce606d commit 20deb3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8488fbe6d2f32ff4ad2f8f348a50e42389fc727
refs/heads/master: 8ba55c5c139f9be26b87d3aab9998f54d8d3057a
6 changes: 6 additions & 0 deletions trunk/arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,11 @@ static struct clk *gpio_fclks[OMAP34XX_NR_GPIOS];
static struct clk *gpio_iclks[OMAP34XX_NR_GPIOS];
#endif

/* This lock class tells lockdep that GPIO irqs are in a different
* category than their parents, so it won't report false recursion.
*/
static struct lock_class_key gpio_lock_class;

static int __init _omap_gpio_init(void)
{
int i;
Expand Down Expand Up @@ -1450,6 +1455,7 @@ static int __init _omap_gpio_init(void)
#endif
for (j = bank->virtual_irq_start;
j < bank->virtual_irq_start + gpio_count; j++) {
lockdep_set_class(&irq_desc[j].lock, &gpio_lock_class);
set_irq_chip_data(j, bank);
if (bank_is_mpuio(bank))
set_irq_chip(j, &mpuio_irq_chip);
Expand Down

0 comments on commit 20deb3c

Please sign in to comment.