]> 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)
commit355d048fde06a103c4e36f327aabd27d63a695c5
tree7c4aedea0b165ae297f7a5b0fa8507916efe0730
parent3cd6fe4e82cdec01955db8bb0fbcd593e545e3e0
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