Message ID | 20240625-reset-compile-bpmp-v1-1-647e846303d8@pengutronix.de |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | reset: tegra-bpmp: allow building under COMPILE_TEST | expand |
On Tue, Jun 25, 2024 at 02:51:41PM GMT, Philipp Zabel wrote: > The Tegra BPMP reset driver can be compiled without TEGRA_BPMP being > enabled. Allow it to be built under COMPILE_TEST. > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > --- > drivers/reset/Makefile | 2 +- > drivers/reset/tegra/Kconfig | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) Acked-by: Thierry Reding <treding@nvidia.com>
diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile index 1b814f08fed7..27b0bbdfcc04 100644 --- a/drivers/reset/Makefile +++ b/drivers/reset/Makefile @@ -3,7 +3,7 @@ obj-y += core.o obj-y += hisilicon/ obj-y += starfive/ obj-y += sti/ -obj-$(CONFIG_ARCH_TEGRA) += tegra/ +obj-y += tegra/ obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o obj-$(CONFIG_RESET_ATH79) += reset-ath79.o obj-$(CONFIG_RESET_AXS10X) += reset-axs10x.o 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
The Tegra BPMP reset driver can be compiled without TEGRA_BPMP being enabled. Allow it to be built under COMPILE_TEST. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> --- drivers/reset/Makefile | 2 +- drivers/reset/tegra/Kconfig | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) --- base-commit: eb5d88b1538850c6d9ddfcd0b59dc7c84831b530 change-id: 20240625-reset-compile-bpmp-b3f46b475c72 Best regards,