stm class: Hide STM-specific options if STM is disabled
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 22 Dec 2015 15:25:15 +0000 (17:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 06:43:17 +0000 (22:43 -0800)
commit4a2e2b19f96acfc037a9773c7729d133ce1e7e3b
tree084adb9b344aa1b23725b58b586a1a56405fa649
parent52210c8745e418f82f3f0aeeee01d7bc4858812a
stm class: Hide STM-specific options if STM is disabled

If STM=n, it doesn't make sense to ask about STM_DUMMY and
STM_SOURCE_CONSOLE support, which are not even built when enabled
anyway. Hence hide these options if STM=n.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/Kconfig