From fd88137bfbb83bee678abef840dcafa13262f5ca Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Tue, 25 Jun 2024 14:51:41 +0200
Subject: reset: tegra-bpmp: allow building under COMPILE_TEST
The Tegra BPMP reset driver can be compiled without TEGRA_BPMP being
enabled. Allow it to be built under COMPILE_TEST.
Acked-by: Thierry Reding
Link: https://lore.kernel.org/r/20240625-reset-compile-bpmp-v1-1-647e846303d8@pengutronix.de
Signed-off-by: Philipp Zabel
---
drivers/reset/tegra/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'drivers/reset/tegra')
diff --git a/drivers/reset/tegra/Kconfig b/drivers/reset/tegra/Kconfig
index e4a9a389e98c..4a2d26d1210a 100644
--- a/drivers/reset/tegra/Kconfig
+++ b/drivers/reset/tegra/Kconfig
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
config RESET_TEGRA_BPMP
- def_bool TEGRA_BPMP
+ bool "Tegra BPMP Reset Driver" if COMPILE_TEST
+ default TEGRA_BPMP
--
cgit v1.2.3