aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-05-16 09:54:29 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-06-23 09:55:05 -0400
commit4e8d1e489be945f31d8cab8d9e8159f5699bb9a2 (patch)
treed0891e53f07ec02bd23bb21a80436267a59c7d81 /arch/h8300
parente71eccdb255e1fc10304f65f6431875e070cc76f (diff)
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 <geert@linux-m68k.org>
Diffstat (limited to 'arch/h8300')
-rw-r--r--arch/h8300/Kconfig.cpu2
1 files changed, 2 insertions, 0 deletions
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
155config H8300_ITU_CH 155config H8300_ITU_CH
156 int "ITU channel" 156 int "ITU channel"
157 depends on H8300_ITU 157 depends on H8300_ITU
158 range 0 4
158 159
159config H8300_TPU_CH 160config H8300_TPU_CH
160 int "TPU channel" 161 int "TPU channel"
161 depends on H8300_TPU 162 depends on H8300_TPU
163 range 0 4
162 164
163source "kernel/Kconfig.preempt" 165source "kernel/Kconfig.preempt"
164 166