summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-10-27 15:15:49 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-31 15:21:42 +0000
commitdf43309bd525bbe569978ca2a47415b7b07ee057 (patch)
tree9d87da1b4488a7051efd1bd50c80ec42e4ff9a08
parent0214f9221aa06fba35c0cd5c80641b0fcfcb1cbe (diff)
downloadlinux-df43309bd525bbe569978ca2a47415b7b07ee057.tar.bz2
[ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning
Resolve: CC arch/arm/mach-pxa/time.o arch/arm/mach-pxa/time.c: In function `pxa_osmr0_set_mode': arch/arm/mach-pxa/time.c:154: warning: enumeration value `CLOCK_EVT_MODE_RESUME' not handled in switch Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-pxa/time.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c
index ec4286c7931c..a2d45d742ce4 100644
--- a/arch/arm/mach-pxa/time.c
+++ b/arch/arm/mach-pxa/time.c
@@ -151,6 +151,9 @@ pxa_osmr0_set_mode(enum clock_event_mode mode, struct clock_event_device *dev)
OIER &= ~OIER_E0;
raw_local_irq_restore(irqflags);
break;
+
+ case CLOCK_EVT_MODE_RESUME:
+ break;
}
}