projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c4e0f1
)
ARM: mach-shmobile: Allow GPIO chips to register IRQ mappings.
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 4 Nov 2010 03:19:11 +0000
(12:19 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 4 Nov 2010 03:19:11 +0000
(12:19 +0900)
As non-PFC chips are added that may support IRQs, pass through to the
generic helper. This follows the the SH change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/include/mach/gpio.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-shmobile/include/mach/gpio.h
b/arch/arm/mach-shmobile/include/mach/gpio.h
index 5bc6bd444d7236016eac8c004f764da16a481380..2b1bb9e43ddadc8b83505b021c5ca7ae4f4704c5 100644
(file)
--- a/
arch/arm/mach-shmobile/include/mach/gpio.h
+++ b/
arch/arm/mach-shmobile/include/mach/gpio.h
@@
-35,12
+35,12
@@
static inline int gpio_cansleep(unsigned gpio)
static inline int gpio_to_irq(unsigned gpio)
{
- return
-ENOSYS
;
+ return
__gpio_to_irq(gpio)
;
}
static inline int irq_to_gpio(unsigned int irq)
{
- return -E
INVAL
;
+ return -E
NOSYS
;
}
#endif /* CONFIG_GPIOLIB */