mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] h8300: Limit timer channel ranges in Kconfig
@ 2013-05-17 11:18 Geert Uytterhoeven
  2013-05-17 11:19 ` [PATCH 2/3] h8300: Switch h8300 to drivers/Kconfig Geert Uytterhoeven
  2013-05-17 11:19 ` [PATCH 3/3] h8300: Mark H83002 and H83048 CPU support broken Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2013-05-17 11:18 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: linux-kernel, Geert Uytterhoeven

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>
---
 arch/h8300/Kconfig.cpu |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/h8300/Kconfig.cpu b/arch/h8300/Kconfig.cpu
index 321f392..c8ea74a 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"
 
-- 
1.7.0.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-17 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 11:18 [PATCH 1/3] h8300: Limit timer channel ranges in Kconfig Geert Uytterhoeven
2013-05-17 11:19 ` [PATCH 2/3] h8300: Switch h8300 to drivers/Kconfig Geert Uytterhoeven
2013-05-17 11:19 ` [PATCH 3/3] h8300: Mark H83002 and H83048 CPU support broken Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®