]> Git Repo - J-linux.git/commitdiff
reset: sti: allow building under COMPILE_TEST
authorPhilipp Zabel <[email protected]>
Fri, 21 Jun 2024 15:21:09 +0000 (17:21 +0200)
committerPhilipp Zabel <[email protected]>
Mon, 24 Jun 2024 07:50:31 +0000 (09:50 +0200)
The STIH407 reset driver can be compiled without ARCH_STI being
enabled. Allow it to be built under COMPILE_TEST.

Reviewed-by: Patrice Chotard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
drivers/reset/Makefile
drivers/reset/sti/Kconfig

index fd8b49fa46fc89a2d5f2e71ccb4e65898fab9a9b..ff716f9afc84a73f68a3f483ccfc9dce9f802162 100644 (file)
@@ -2,7 +2,7 @@
 obj-y += core.o
 obj-y += hisilicon/
 obj-y += starfive/
-obj-$(CONFIG_ARCH_STI) += sti/
+obj-y += sti/
 obj-$(CONFIG_ARCH_TEGRA) += tegra/
 obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o
 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o
index a2622e146b8b3621f659c3ec1ddfa599b120b6a8..0b599f7cf6ed82d8ab09867307fcb891aea94f96 100644 (file)
@@ -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
This page took 0.05459 seconds and 4 git commands to generate.