Skip to content

Commit

Permalink
[ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Oct 31, 2007
1 parent 0214f92 commit df43309
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-pxa/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit df43309

Please sign in to comment.