[ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM
commita9c3685b2f0515bffd8d13ea9e3417664ff22a07
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 Sep 2006 12:30:20 +0000 (18 13:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 18 Sep 2006 12:30:20 +0000 (18 13:30 +0100)
tree358a877cbd770157d9483251937da6ae74189bbb
parent71aa7054d3df0f74d9ffbef3dd1486764c7f592a
[ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM

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