diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index ab47582f6c0b46fe808e9fc53a104a23de9196b1..5fe5649851713e7858a2d016988cbe175ea7eaa6 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -859,8 +859,8 @@ static inline int snmp6_unregister_dev(struct inet6_dev *idev) { return 0; }
 #endif
 
 #ifdef CONFIG_SYSCTL
-extern ctl_table ipv6_route_table_template[];
-extern ctl_table ipv6_icmp_table_template[];
+extern struct ctl_table ipv6_route_table_template[];
+extern struct ctl_table ipv6_icmp_table_template[];
 
 extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
 extern struct ctl_table *ipv6_route_sysctl_init(struct net *net);