X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmoduleparam.h;h=b5c98c43779e4ada67ae76132ed0279967a48f9a;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=7c0c2c198f1f64400cb269d2e9608031e690ea30;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git 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;