projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184b6c7
)
remove CONFIG_KMOD from lib
author
Johannes Berg
<johannes@sipsolutions.net>
Tue, 8 Jul 2008 17:00:24 +0000
(19:00 +0200)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Jul 2008 09:24:31 +0000
(19:24 +1000)
textsearch algorithms can be loaded, make the code depend
on CONFIG_MODULES instead of CONFIG_KMOD.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/textsearch.c
patch
|
blob
|
history
diff --git
a/lib/textsearch.c
b/lib/textsearch.c
index 4b7c6075256f60e02cbf144029f00142e7411fa4..9fbcb44c554f9edbb2b2b439c20d5e18362cdc6d 100644
(file)
--- a/
lib/textsearch.c
+++ b/
lib/textsearch.c
@@
-267,7
+267,7
@@
struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
return ERR_PTR(-EINVAL);
ops = lookup_ts_algo(algo);
-#ifdef CONFIG_
KMOD
+#ifdef CONFIG_
MODULES
/*
* Why not always autoload you may ask. Some users are
* in a situation where requesting a module may deadlock,