]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Replace pci_dn with eeh_dev for EEH on pSeries
authorGavin Shan <shangw@linux.vnet.ibm.com>
Mon, 27 Feb 2012 20:04:09 +0000 (20:04 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Mar 2012 00:39:48 +0000 (11:39 +1100)
commit778fc71af53fcb4689e37f0fe9f5eed23dd9b464
tree7c4aedea0b165ae297f7a5b0fa8507916efe0730
parent177d90ec4521e0a4f43dd001625d2a0c846358a8
powerpc/eeh: Replace pci_dn with eeh_dev for EEH on pSeries

The pci_dn has been replaced with eeh_dev. In order to comply with
the rule, the EEH platform implementation on pSeries should also
be adjusted for a little bit so that it will depend on eeh_dev instead
of pci_dn.

The patch replaces pci_dn with eeh_dev. The corresponding information
will be retrieved from eeh_dev instead of pci_dn.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/eeh_pseries.c