sh: pfc: Add GPIO IRQ support
authorMagnus Damm <damm@opensource.se>
Wed, 28 Sep 2011 07:50:58 +0000 (16:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 28 Oct 2011 06:03:52 +0000 (15:03 +0900)
commitad2a8e7ea4128af984a98537b1b9484722b6b4bb
treecf5030dda233a9182e78574356d1853652753aad
parentcf8e56bf5b60dba5ba11db83ca7f1df884e568e5
sh: pfc: Add GPIO IRQ support

Add GPIO IRQ support to the shared PFC code in drivers/sh/pfc.c

The enums pointed out by a certain GPIO will be matched against
a table for IRQ to enum mappings.

Only the shared PFC code is updated by this patch. SoC specific
changes are also needed to allow platforms to make use of this
feature.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/pfc.c
include/linux/sh_pfc.h