[ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 27 Oct 2007 14:15:49 +0000 (15:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Oct 2007 15:21:42 +0000 (15:21 +0000)
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>
arch/arm/mach-pxa/time.c

index ec4286c7931cfdb821a996565c29ed17699d22cd..a2d45d742ce444872a6761a90500b6651c9e448f 100644 (file)
@@ -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;
        }
 }