summaryrefslogtreecommitdiff
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2024-10-16 14:20:15 -0700
committerRob Herring (Arm) <robh@kernel.org>2024-11-15 14:03:28 -0600
commit332857fdac73f1c7b74ad962c07bb39e4c0c145a (patch)
tree538f8da404a95bbd9b36c7f65a1ee6285ba0abaf /drivers/of/Kconfig
parent6e0391e48cf9fb8b1b5e27c0cbbaf2e4639f2c33 (diff)
downloadlinux-332857fdac73f1c7b74ad962c07bb39e4c0c145a.tar.gz
linux-332857fdac73f1c7b74ad962c07bb39e4c0c145a.tar.bz2
linux-332857fdac73f1c7b74ad962c07bb39e4c0c145a.zip
of: Allow overlay kunit tests to run CONFIG_OF_OVERLAY=n
Some configurations want to enable CONFIG_KUNIT without enabling CONFIG_OF_OVERLAY. The kunit overlay code already skips if CONFIG_OF_OVERLAY isn't enabled, so this select here isn't really doing anything besides making it easier to run the tests without them skipping. Remove the select and move the config setting to the drivers/of/.kunitconfig file so that the overlay tests can be run with or without CONFIG_OF_OVERLAY set to test either behavior. Fixes: 5c9dd72d8385 ("of: Add a KUnit test for overlays and test managed APIs") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20241016212016.887552-1-sboyd@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 0e2d608c3e20..f0b8cc23c46d 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -111,7 +111,7 @@ config OF_OVERLAY_KUNIT_TEST
tristate "Device Tree overlay KUnit tests" if !KUNIT_ALL_TESTS
depends on KUNIT
default KUNIT_ALL_TESTS
- select OF_OVERLAY
+ select DTC
help
This option builds KUnit unit tests for the device tree overlay code.