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

Configure Feed

Select the types of activity you want to include in your feed.

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>

+3 -3
+1 -1
drivers/reset/Makefile
··· 2 2 obj-y += core.o 3 3 obj-y += hisilicon/ 4 4 obj-y += starfive/ 5 - obj-$(CONFIG_ARCH_STI) += sti/ 5 + obj-y += sti/ 6 6 obj-$(CONFIG_ARCH_TEGRA) += tegra/ 7 7 obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o 8 8 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o
+2 -2
drivers/reset/sti/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 - if ARCH_STI 2 + if ARCH_STI || COMPILE_TEST 3 3 4 4 config STIH407_RESET 5 - bool 5 + bool "STIH407 Reset Driver" if COMPILE_TEST 6 6 7 7 endif