]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
genirq: provide irq_to_desc() to non-genirq architectures too
authorIngo Molnar <mingo@elte.hu>
Mon, 5 Jan 2009 13:34:42 +0000 (14:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Jan 2009 13:53:30 +0000 (14:53 +0100)
commitbe92d7af38fb8a91f8575ab2272e00f2e51667ff
tree1ff330ca92cf3b7ccd95e10dc9704a6b26e800d7
parentfe0bdec68b77020281dc814805edfe594ae89e0f
genirq: provide irq_to_desc() to non-genirq architectures too

Impact: build fix on non-genirq architectures

Sam Ravnborg reported this build failure on sparc32 allmodconfig,
the GPIO drivers assume the presence of irq_to_desc():

 drivers/gpio/gpiolib.c: In function `gpiolib_dbg_show':
 drivers/gpio/gpiolib.c:1146: error: implicit declaration of function 'irq_to_desc'

Add it in the !genirq case too.

Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Sam Ravnborg <sam@ravnborg.org>
include/linux/irqnr.h