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-Tag: v2.6.24-rc2~64^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=df43309bd525bbe569978ca2a47415b7b07ee057;p=linux-2.6-omap-h63xx.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 ec4286c7931..a2d45d742ce 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; } }