diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-22 17:11:09 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 14:47:52 +0200 |
commit | 1475b85d08b51b5ee2b7b426247d3ef3f531eafe (patch) | |
tree | e0f092b3fda6515735c04a2cecfc3a375df601c6 /arch/arm/mach-at91 | |
parent | b0f18edaf6ee4e6fac89cae63a90bd38ad2a3418 (diff) | |
download | linux-3.10-1475b85d08b51b5ee2b7b426247d3ef3f531eafe.tar.gz linux-3.10-1475b85d08b51b5ee2b7b426247d3ef3f531eafe.tar.bz2 linux-3.10-1475b85d08b51b5ee2b7b426247d3ef3f531eafe.zip |
arm: Use genirq lockdep helper to set lock class
Remove the open coded access to irq_desc which will fail on sparse irq
and use the proper wrappers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c index af818a21587..5abcfc016c4 100644 --- a/arch/arm/mach-at91/gpio.c +++ b/arch/arm/mach-at91/gpio.c @@ -518,7 +518,7 @@ void __init at91_gpio_irq_setup(void) __raw_writel(~0, this->regbase + PIO_IDR); for (i = 0, pin = this->chip.base; i < 32; i++, pin++) { - lockdep_set_class(&irq_desc[pin].lock, &gpio_lock_class); + irq_set_lockdep_class(pin, &gpio_lock_class); /* * Can use the "simple" and not "edge" handler since it's |