Merge tag 'edac_updates_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / edac / sifive_edac.c
index b844e2626fd50686687af90c3af194ecde5a71f5..a2b193dc66043120df04972df32350f52e0df305 100644 (file)
@@ -52,8 +52,7 @@ static int ecc_register(struct platform_device *pdev)
        platform_set_drvdata(pdev, p);
 
        p->dci = edac_device_alloc_ctl_info(0, "sifive_ecc", 1, "sifive_ecc",
-                                           1, 1, NULL, 0,
-                                           edac_device_alloc_index());
+                                           1, 1, edac_device_alloc_index());
        if (!p->dci)
                return -ENOMEM;