summaryrefslogtreecommitdiff
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/moduleparam.h')
-rw-r--r--include/linux/moduleparam.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index 4e6e7a51d74f..02477981d530 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -152,4 +152,15 @@ int param_array(const char *name,
void *elem, int elemsize,
int (*set)(const char *, struct kernel_param *kp),
int *num);
+
+/* for exporting parameters in /sys/parameters */
+
+struct module;
+
+extern int module_param_sysfs_setup(struct module *mod,
+ struct kernel_param *kparam,
+ unsigned int num_params);
+
+extern void module_param_sysfs_remove(struct module *mod);
+
#endif /* _LINUX_MODULE_PARAMS_H */