From: Geert Uytterhoeven Date: Thu, 16 May 2013 13:54:29 +0000 (+0200) Subject: h8300: Limit timer channel ranges in Kconfig X-Git-Tag: next-20130607~122^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9c8061102ce351c9c456a7a25e32780e81bc921;p=karo-tx-linux.git h8300: Limit timer channel ranges in Kconfig arch/h8300/kernel/timer/itu.c and arch/h8300/kernel/timer/tpu.c only support 0--4 for CONFIG_H8300_ITU_CH resp. H8300_TPU_CH, hence limit them to that range in Kconfig. Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/h8300/Kconfig.cpu b/arch/h8300/Kconfig.cpu index 321f3922728b..c8ea74a29cd3 100644 --- a/arch/h8300/Kconfig.cpu +++ b/arch/h8300/Kconfig.cpu @@ -155,10 +155,12 @@ config H8300_TIMER16_CH config H8300_ITU_CH int "ITU channel" depends on H8300_ITU + range 0 4 config H8300_TPU_CH int "TPU channel" depends on H8300_TPU + range 0 4 source "kernel/Kconfig.preempt"