Commit 4e8d1e48 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent e71eccdb
...@@ -155,10 +155,12 @@ config H8300_TIMER16_CH ...@@ -155,10 +155,12 @@ config H8300_TIMER16_CH
config H8300_ITU_CH config H8300_ITU_CH
int "ITU channel" int "ITU channel"
depends on H8300_ITU depends on H8300_ITU
range 0 4
config H8300_TPU_CH config H8300_TPU_CH
int "TPU channel" int "TPU channel"
depends on H8300_TPU depends on H8300_TPU
range 0 4
source "kernel/Kconfig.preempt" source "kernel/Kconfig.preempt"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment