x86/gpio: Implement x86 gpio_to_irq convert function
authorAlek Du <alek.du@intel.com>
Tue, 11 Jan 2011 10:55:32 +0000 (10:55 +0000)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 Jan 2011 11:46:15 +0000 (12:46 +0100)
commit718c45bd1aa80c4e23a0ee204c973e3014e94708
treec22c0a0ace46d4d3e30946e805f12c960933d5bb
parent990a32d1e54b3c0f7304bec95fb883404589b3f0
x86/gpio: Implement x86 gpio_to_irq convert function

We need this for x86 MID platforms where GPIO interrupts are
used. No special magic is needed so the default 1:1 behaviour
will do nicely.

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
LKML-Reference: <20110111105439.24448.69863.stgit@bob.linux.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/gpio.h