Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <treding@nvidia.com>
Link: https://lore.kernel.org/r/20240625-reset-compile-bpmp-v1-1-647e846303d8@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

+3 -2
+1 -1
drivers/reset/Makefile
··· 3 3 obj-y += hisilicon/ 4 4 obj-y += starfive/ 5 5 obj-y += sti/ 6 - obj-$(CONFIG_ARCH_TEGRA) += tegra/ 6 + obj-y += tegra/ 7 7 obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o 8 8 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o 9 9 obj-$(CONFIG_RESET_AXS10X) += reset-axs10x.o
+2 -1
drivers/reset/tegra/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config RESET_TEGRA_BPMP 3 - def_bool TEGRA_BPMP 3 + bool "Tegra BPMP Reset Driver" if COMPILE_TEST 4 + default TEGRA_BPMP