EDAC, mv64x60: Fix pdata->name
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 18 May 2017 08:31:34 +0000 (20:31 +1200)
committerBorislav Petkov <bp@suse.de>
Fri, 26 May 2017 20:54:04 +0000 (22:54 +0200)
Change this from mpc85xx_pci_err to mv64x60_pci_err. The former is
likely a hangover from when this driver was created.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/20170518083135.28048-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mv64x60_edac.c

index 14b7e7b71eaa2fd8e9bb0488a90a702d7201a259..ea0ea41fb8d45f48789cae9532694bee5cc549da 100644 (file)
@@ -116,7 +116,7 @@ static int mv64x60_pci_err_probe(struct platform_device *pdev)
        pdata = pci->pvt_info;
 
        pdata->pci_hose = pdev->id;
-       pdata->name = "mpc85xx_pci_err";
+       pdata->name = "mv64x60_pci_err";
        platform_set_drvdata(pdev, pci);
        pci->dev = &pdev->dev;
        pci->dev_name = dev_name(&pdev->dev);