summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/config.in6
-rw-r--r--modutils/lsmod.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/modutils/config.in b/modutils/config.in
index 802bcc1..f5256bb 100644
--- a/modutils/config.in
+++ b/modutils/config.in
@@ -20,5 +20,11 @@ if [ "$CONFIG_INSMOD" = "y" ]; then
bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM
fi
+if [ "$CONFIG_LSMOD" = "y" ]; then
+ if [ "$CONFIG_FEATURE_NEW_MODULE_INTERFACE" = "y" ]; then
+ bool 'Support lsmod query_module interface (add 638 bytes)' CONFIG_FEATURE_QUERY_MODULE_INTERFACE
+ fi
+fi
+
endmenu
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 7b6ad14..5cb585b 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -41,7 +41,7 @@
-#ifdef CONFIG_FEATURE_NEW_MODULE_INTERFACE
+#ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE
struct module_info
{