]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/dccp/sysctl.c
[MTD] jedec probe: drop unnecessary forward declarations
[linux-2.6-omap-h63xx.git] / net / dccp / sysctl.c
index fdcfca3e9208926809e769f469a0fd139050c153..c62c05039f693e40bbd2b4cad307fa68d619629f 100644 (file)
@@ -89,6 +89,13 @@ static struct ctl_table dccp_default_table[] = {
                .mode           = 0644,
                .proc_handler   = proc_dointvec,
        },
+       {
+               .procname       = "sync_ratelimit",
+               .data           = &sysctl_dccp_sync_ratelimit,
+               .maxlen         = sizeof(sysctl_dccp_sync_ratelimit),
+               .mode           = 0644,
+               .proc_handler   = proc_dointvec_ms_jiffies,
+       },
 
        { .ctl_name = 0, }
 };
@@ -127,7 +134,7 @@ static struct ctl_table_header *dccp_table_header;
 
 int __init dccp_sysctl_init(void)
 {
-       dccp_table_header = register_sysctl_table(dccp_root_table, 1);
+       dccp_table_header = register_sysctl_table(dccp_root_table);
 
        return dccp_table_header != NULL ? 0 : -ENOMEM;
 }