From: Russell King Date: Sat, 27 Oct 2007 14:15:49 +0000 (+0100) Subject: [ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=df43309bd525bbe569978ca2a47415b7b07ee057;p=openwrt%2Fstaging%2Fblogic.git [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 --- 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; } }