summaryrefslogtreecommitdiffstats
path: root/drivers/edac/sifive_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/sifive_edac.c')
-rw-r--r--drivers/edac/sifive_edac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/sifive_edac.c b/drivers/edac/sifive_edac.c
index b844e2626f..a2b193dc66 100644
--- a/drivers/edac/sifive_edac.c
+++ b/drivers/edac/sifive_edac.c
@@ -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;