From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Fri, 24 Feb 2017 10:25:55 +0000 (+0100)
Subject: lib: Allow compile-testing of parman
X-Git-Tag: v4.11-rc1~55^2~9
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9d25af69b3cfa2f88559efa0c1a4b4f18724694b;p=users%2Fdwmw2%2Flinux.git

lib: Allow compile-testing of parman

This allows to enable and run the accompanying test (test_parman)
without dependencies on other users of parman.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/lib/Kconfig b/lib/Kconfig
index 87ecd41031bd2..44d1a1181fb56 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -551,7 +551,7 @@ config SBITMAP
 	bool
 
 config PARMAN
-	tristate
+	tristate "parman" if COMPILE_TEST
 
 config PRIME_NUMBERS
 	tristate