]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: timbgpio: Fix up irq_data conversion breakage.
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 14 Jan 2011 08:44:19 +0000 (09:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 16:13:13 +0000 (08:13 -0800)
commit4e9d50e03a6f99f9a72704645f12d1f91ac83136
tree6cadcaa2b4709e82e70792ddc3afb0fa8b69aed8
parent776e82482638a0eaf827b4ade94d932f24f976d5
gpio: timbgpio: Fix up irq_data conversion breakage.

Commit 76176efacd76d640ce86b14a3382899b09b7cb3c ("gpio: timbgpio:
irq_data conversion") was slightly too enthusiastic in converting
timbgpio_irq() over to take an irq_data * argument instead of an
unsigned int irq argument, as it is a flow handler, which still take
IRQ numbers for now.  (And on top of that, it was using the wrong
accessors.)

This fixes it up, and seems to build without warnings.

Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Richard Röjfors <richard.rojfors@mocean-labs.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/timbgpio.c