diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-16 06:44:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 10:56:06 -0400 |
commit | fd687502dc8037aa5a4b84c570ada971106574ee (patch) | |
tree | 53e7c4141571ff349759614095c12e853492f068 /drivers/edac/e7xxx_edac.c | |
parent | 53f2d02898755d1b24bde1975e202815d29fdb81 (diff) |
edac: Rename the parent dev to pdev
As EDAC doesn't use struct device itself, it created a parent dev
pointer called as "pdev". Now that we'll be converting it to use
struct device, instead of struct devsys, this needs to be fixed.
No functional changes.
Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: Doug Thompson <norsk5@yahoo.com>
Cc: Borislav Petkov <borislav.petkov@amd.com>
Cc: Mark Gross <mark.gross@intel.com>
Cc: Jason Uhlenkott <juhlenko@akamai.com>
Cc: Tim Small <tim@buttersideup.com>
Cc: Ranganathan Desikan <ravi@jetztechnologies.com>
Cc: "Arvind R." <arvino55@gmail.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Egor Martovetsky <egor@pasemi.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Joe Perches <joe@perches.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Hitoshi Mitake <h.mitake@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: "Niklas Söderlund" <niklas.soderlund@ericsson.com>
Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
Cc: Josh Boyer <jwboyer@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/e7xxx_edac.c')
-rw-r--r-- | drivers/edac/e7xxx_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/e7xxx_edac.c b/drivers/edac/e7xxx_edac.c index 9a9c1a546797..b111266dadf3 100644 --- a/drivers/edac/e7xxx_edac.c +++ b/drivers/edac/e7xxx_edac.c | |||
@@ -458,7 +458,7 @@ static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) | |||
458 | /* FIXME - what if different memory types are in different csrows? */ | 458 | /* FIXME - what if different memory types are in different csrows? */ |
459 | mci->mod_name = EDAC_MOD_STR; | 459 | mci->mod_name = EDAC_MOD_STR; |
460 | mci->mod_ver = E7XXX_REVISION; | 460 | mci->mod_ver = E7XXX_REVISION; |
461 | mci->dev = &pdev->dev; | 461 | mci->pdev = &pdev->dev; |
462 | debugf3("%s(): init pvt\n", __func__); | 462 | debugf3("%s(): init pvt\n", __func__); |
463 | pvt = (struct e7xxx_pvt *)mci->pvt_info; | 463 | pvt = (struct e7xxx_pvt *)mci->pvt_info; |
464 | pvt->dev_info = &e7xxx_devs[dev_idx]; | 464 | pvt->dev_info = &e7xxx_devs[dev_idx]; |