diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2024-06-21 17:21:09 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2024-06-24 09:50:31 +0200 |
commit | 1359fc272bee9e0e8b7477d15b8d08518b818f0c (patch) | |
tree | 6dd076e7f40f43d5975cd3c4c52a0d351e97169c /drivers/reset/sti | |
parent | b081f13c11500bceb8ab504797a48cc7751de4b5 (diff) | |
download | lwn-1359fc272bee9e0e8b7477d15b8d08518b818f0c.tar.gz lwn-1359fc272bee9e0e8b7477d15b8d08518b818f0c.zip |
reset: sti: allow building under COMPILE_TEST
The STIH407 reset driver can be compiled without ARCH_STI being
enabled. Allow it to be built under COMPILE_TEST.
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20240621-reset-compile-sti-v1-1-b7a66ce29911@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/sti')
-rw-r--r-- | drivers/reset/sti/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/reset/sti/Kconfig b/drivers/reset/sti/Kconfig index a2622e146b8b..0b599f7cf6ed 100644 --- a/drivers/reset/sti/Kconfig +++ b/drivers/reset/sti/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only -if ARCH_STI +if ARCH_STI || COMPILE_TEST config STIH407_RESET - bool + bool "STIH407 Reset Driver" if COMPILE_TEST endif |