]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/md.c
[PATCH] sysctl: remove insert_at_head from register_sysctl
[karo-tx-linux.git] / drivers / md / md.c
index e8807ea5377d75c508e8f791df89eac8ec7ffd65..05febfd9f0712d0875b52dcb4f2c07cd15ff7c8f 100644 (file)
@@ -4920,7 +4920,7 @@ static unsigned int mdstat_poll(struct file *filp, poll_table *wait)
        return mask;
 }
 
-static struct file_operations md_seq_fops = {
+static const struct file_operations md_seq_fops = {
        .owner          = THIS_MODULE,
        .open           = md_seq_open,
        .read           = seq_read,
@@ -5581,7 +5581,7 @@ static int __init md_init(void)
                            md_probe, NULL, NULL);
 
        register_reboot_notifier(&md_notifier);
-       raid_table_header = register_sysctl_table(raid_root_table, 1);
+       raid_table_header = register_sysctl_table(raid_root_table);
 
        md_geninit();
        return (0);