]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/edac/mpc85xx_edac.c
edac: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6-omap-h63xx.git] / drivers / edac / mpc85xx_edac.c
index 853ef37ec00662a894a7d6caa6c889823b8a0ce8..4637a4a757df65f29144d13b60d82f4dea3671c8 100644 (file)
@@ -218,7 +218,7 @@ static int __devinit mpc85xx_pci_err_probe(struct of_device *op,
        pci->dev = &op->dev;
        pci->mod_name = EDAC_MOD_STR;
        pci->ctl_name = pdata->name;
-       pci->dev_name = op->dev.bus_id;
+       pci->dev_name = dev_name(&op->dev);
 
        if (edac_op_state == EDAC_OPSTATE_POLL)
                pci->edac_check = mpc85xx_pci_check;