diff options
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 3eb32f62d72a..fd46b0bd5f2a 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -327,28 +327,6 @@ err: | |||
327 | } | 327 | } |
328 | EXPORT_SYMBOL(mpc85xx_pci_err_probe); | 328 | EXPORT_SYMBOL(mpc85xx_pci_err_probe); |
329 | 329 | ||
330 | static int mpc85xx_pci_err_remove(struct platform_device *op) | ||
331 | { | ||
332 | struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev); | ||
333 | struct mpc85xx_pci_pdata *pdata = pci->pvt_info; | ||
334 | |||
335 | edac_dbg(0, "\n"); | ||
336 | |||
337 | out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_CAP_DR, | ||
338 | orig_pci_err_cap_dr); | ||
339 | |||
340 | out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_EN, orig_pci_err_en); | ||
341 | |||
342 | edac_pci_del_device(pci->dev); | ||
343 | |||
344 | if (edac_op_state == EDAC_OPSTATE_INT) | ||
345 | irq_dispose_mapping(pdata->irq); | ||
346 | |||
347 | edac_pci_free_ctl_info(pci); | ||
348 | |||
349 | return 0; | ||
350 | } | ||
351 | |||
352 | #endif /* CONFIG_PCI */ | 330 | #endif /* CONFIG_PCI */ |
353 | 331 | ||
354 | /**************************** L2 Err device ***************************/ | 332 | /**************************** L2 Err device ***************************/ |