diff --git a/include/linux/key.h b/include/linux/key.h
index 80d677483e31f95ce4b08ef00ffb79c239932c18..3ae45f09589baa6451dc0731b1ce024d1851dea7 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -332,7 +332,7 @@ do {									\
 } while (0)
 
 #ifdef CONFIG_SYSCTL
-extern ctl_table key_sysctls[];
+extern struct ctl_table key_sysctls[];
 #endif
 /*
  * the userspace interface