mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 10:46:11 +00:00
remove CONFIG_KMOD from lib
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>
This commit is contained in:
parent
184b6c7682
commit
a00caa1fa9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue