projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71aa705
)
[ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 18 Sep 2006 12:30:20 +0000
(13:30 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 18 Sep 2006 12:30:20 +0000
(13:30 +0100)
Patch from Ben Dooks
Do not define set_irq_wake as a real function if
the CONFIG_PM option is not set.
Fixes bug reported by Thomas Gleixner.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/irq.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-s3c2410/irq.h
b/arch/arm/mach-s3c2410/irq.h
index f7cc4c983de53a9c995794d950940fd60bffdb0c..842a9f42c97b9d4b60a08fbfee3dc818667fd801 100644
(file)
--- a/
arch/arm/mach-s3c2410/irq.h
+++ b/
arch/arm/mach-s3c2410/irq.h
@@
-100,5
+100,10
@@
s3c_irqsub_ack(unsigned int irqno, unsigned int parentmask, unsigned int group)
/* exported for use in arch/arm/mach-s3c2410 */
+#ifdef CONFIG_PM
extern int s3c_irq_wake(unsigned int irqno, unsigned int state);
+#else
+#define s3c_irq_wake NULL
+#endif
+
extern int s3c_irqext_type(unsigned int irq, unsigned int type);