diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-07-09 10:28:40 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-10-17 02:38:36 +1100 |
commit | 5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19 (patch) | |
tree | e636c2ae7d5a5459f4f4625d44754737f45a984f /fs/char_dev.c | |
parent | a65e5d782f9db2a61a914dc01a329e0c2dcf92a1 (diff) | |
download | op-kernel-dev-5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19.zip op-kernel-dev-5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19.tar.gz |
remove CONFIG_KMOD from fs
Just always compile the code when the kernel is modular.
Convert load_nls to use try_then_request_module to tidy
up the code.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r-- | fs/char_dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c index 3cb7cda..262fa10 100644 --- a/fs/char_dev.c +++ b/fs/char_dev.c @@ -22,9 +22,6 @@ #include <linux/mutex.h> #include <linux/backing-dev.h> -#ifdef CONFIG_KMOD -#include <linux/kmod.h> -#endif #include "internal.h" /* |