kernel/param: consolidate __{start,stop}___param[] in <linux/moduleparam.h>
Consolidate the various external const and non-const declarations of __start___param[] and __stop___param in <linux/moduleparam.h>. This requires making a few struct kernel_param pointers in kernel/params.c const. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
4c6327dfaf
commit
63a12d9d01
@@ -78,6 +78,8 @@ struct kernel_param {
|
||||
};
|
||||
};
|
||||
|
||||
extern const struct kernel_param __start___param[], __stop___param[];
|
||||
|
||||
/* Special one for strings we want to copy into */
|
||||
struct kparam_string {
|
||||
unsigned int maxlen;
|
||||
|
Reference in New Issue
Block a user