diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-24 19:38:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:38:21 -0400 |
commit | 031d5518591006efd13a33a86909b9477b22917b (patch) | |
tree | 3f31dda807e0e129b7e9751e93df649f91530478 /drivers/edac/mpc85xx_edac.c | |
parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff) |
edac: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: dougthompson@xmission.com
Cc: bluesmoke-devel@lists.sourceforge.net
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 853ef37ec006..4637a4a757df 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -218,7 +218,7 @@ static int __devinit mpc85xx_pci_err_probe(struct of_device *op, | |||
218 | pci->dev = &op->dev; | 218 | pci->dev = &op->dev; |
219 | pci->mod_name = EDAC_MOD_STR; | 219 | pci->mod_name = EDAC_MOD_STR; |
220 | pci->ctl_name = pdata->name; | 220 | pci->ctl_name = pdata->name; |
221 | pci->dev_name = op->dev.bus_id; | 221 | pci->dev_name = dev_name(&op->dev); |
222 | 222 | ||
223 | if (edac_op_state == EDAC_OPSTATE_POLL) | 223 | if (edac_op_state == EDAC_OPSTATE_POLL) |
224 | pci->edac_check = mpc85xx_pci_check; | 224 | pci->edac_check = mpc85xx_pci_check; |