X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=include%2Flinux%2Fmoduleparam.h;fp=include%2Flinux%2Fmoduleparam.h;h=b5c98c43779e4ada67ae76132ed0279967a48f9a;hp=7c0c2c198f1f64400cb269d2e9608031e690ea30;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index 7c0c2c198..b5c98c437 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h @@ -162,6 +162,13 @@ extern int param_array_get(char *buffer, struct kernel_param *kp); extern int param_set_copystring(const char *val, struct kernel_param *kp); extern int param_get_string(char *buffer, struct kernel_param *kp); +int param_array(const char *name, + const char *val, + unsigned int min, unsigned int max, + void *elem, int elemsize, + int (*set)(const char *, struct kernel_param *kp), + int *num); + /* for exporting parameters in /sys/parameters */ struct module;