[PATCH] sysctl: allow sysctl_perm to be called from outside of sysctl.c
[linux-drm-fsl-dcu.git] / include / linux / sysctl.h
index 72ba58b362d8e1afc7ae9288f2035f45a19e18a4..9698ac30f553bf33424b7ec0a2efb7c87e5ea5df 100644 (file)
@@ -925,8 +925,10 @@ enum
 #include <linux/list.h>
 
 /* For the /proc/sys support */
+struct ctl_table;
 extern struct ctl_table_header *sysctl_head_next(struct ctl_table_header *prev);
 extern void sysctl_head_finish(struct ctl_table_header *prev);
+extern int sysctl_perm(struct ctl_table *table, int op);
 
 extern void sysctl_init(void);