diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-24 18:00:52 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-24 20:46:57 -0500 |
| commit | ba95b045e94fe15cace3a7d3a20fbedb2c6a817e (patch) | |
| tree | 12e84736e1adedf5ecfb7931941dd9ebb3698479 /lib/Kconfig | |
| parent | 5fb7f87408f1534f2c3fadb876dc429cca601104 (diff) | |
lib: add module support to glob tests
Extract the glob test code into its own source file, to allow to compile
it either to a loadable module, or builtin into the kernel.
Link: http://lkml.kernel.org/r/1483470276-10517-2-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig')
| -rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index ffd7635efda6..fe7e8e175db8 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
| @@ -431,8 +431,7 @@ config GLOB | |||
| 431 | depends on this. | 431 | depends on this. |
| 432 | 432 | ||
| 433 | config GLOB_SELFTEST | 433 | config GLOB_SELFTEST |
| 434 | bool "glob self-test on init" | 434 | tristate "glob self-test on init" |
| 435 | default n | ||
| 436 | depends on GLOB | 435 | depends on GLOB |
| 437 | help | 436 | help |
| 438 | This option enables a simple self-test of the glob_match | 437 | This option enables a simple self-test of the glob_match |
