x86, mrst: make mrst_timer_options an enum
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 19 May 2010 21:37:40 +0000 (14:37 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 19 May 2010 21:37:40 +0000 (14:37 -0700)
commit14671386dcbafb3086bbda3cb6f9f27d34c7bf6d
tree4aa5c86ad7bf03cc4cff52c642d0956cd945de7f
parenta75af580bb1fd261bf63cc00e4b324e17ceb15cf
x86, mrst: make mrst_timer_options an enum

We have an enum mrst_timer_options, use it so that the kernel knows if
we're missing something from a switch statement or equivalent.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <1274295685-6774-4-git-send-email-jacob.jun.pan@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
arch/x86/include/asm/mrst.h
arch/x86/kernel/mrst.c