powerpc/eeh: Remove eeh device from OF node
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 20 Mar 2012 21:30:27 +0000 (21:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Mar 2012 00:31:57 +0000 (11:31 +1100)
commit2a0352fa4a78081c76be1e450b51a6aa27c92616
treecacc28c7f6058cdc5bbf3d940917ca06ef1df84e
parente22057c8599373e5caef0bc42bdb95d2a361ab0d
powerpc/eeh: Remove eeh device from OF node

Originally, the PCI sensitive OF node is tracing the eeh device
through struct device_node->edev. However, it was regarded as
bad idea.

The patch removes struct device_node->edev and uses PCI_DN to
trace the corresponding eeh device according to BenH's comments.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/platforms/pseries/eeh_dev.c
include/linux/of.h