From: Gavin Shan Date: Mon, 27 Feb 2012 20:04:05 +0000 (+0000) Subject: powerpc/eeh: Replace pci_dn with eeh_dev for EEH sysfs X-Git-Tag: v3.4-rc1~159^2~17^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44da8edc6ade0fe53354bc6a4fd8ef9760fd7f2b;p=pandora-kernel.git powerpc/eeh: Replace pci_dn with eeh_dev for EEH sysfs With original EEH implementation, all EEH related statistics have been put into struct pci_dn. We've introduced struct eeh_dev to replace struct pci_dn in EEH core components, including EEH sysfs component. The patch shows EEH statistics from struct eeh_dev instead of struct pci_dn in EEH sysfs component. Besides, it also fixed the EEH device retrieval from PCI device, which was introduced by the previous patch in the series of patch. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed