]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/moduleparam.h
param: make param sections const.
[net-next-2.6.git] / include / linux / moduleparam.h
index 9f51568f51c82a334d496ca63206c0804e611d6d..6d48831fe7d2856815caad258bceb29815290a51 100644 (file)
@@ -161,7 +161,7 @@ __check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
 /* Called on module insert or kernel boot */
 extern int parse_args(const char *name,
                      char *args,
-                     struct kernel_param *params,
+                     const struct kernel_param *params,
                      unsigned num,
                      int (*unknown)(char *param, char *val));