[PATCH] m68k: allow PM menu options for COMPILE_TEST

From: Randy Dunlap
Date: Wed Feb 08 2023 - 20:06:45 EST


Allow PM options for COMPILE_TEST. This quietens a kconfig
warning.

This is similar to a patch for Sparc32 that was suggested by
Arnd.

WARNING: unmet direct dependencies detected for PM
Depends on [n]: !MMU [=y]
Selected by [y]:
- SUN20I_PPU [=y] && (ARCH_SUNXI || COMPILE_TEST [=y])

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: linux-m68k@xxxxxxxxxxxxxxxxxxxx
---
arch/m68k/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/arch/m68k/Kconfig b/arch/m68k/Kconfig
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -126,7 +126,7 @@ menu "Kernel Features"

endmenu

-if !MMU
+if !MMU || COMPILE_TEST
menu "Power management options"

config PM