Alexey Kardashevskiy <a...@ozlabs.ru> writes: > The eeh_dev struct already holds a pointer to pci_dn which it does not > exist without and pci_dn itself holds the very same pointer so just > use it. > > Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru> > --- > arch/powerpc/include/asm/eeh.h | 1 - > arch/powerpc/kernel/eeh.c | 7 +++---- > arch/powerpc/kernel/eeh_dev.c | 2 -- > arch/powerpc/kernel/eeh_driver.c | 2 +- > arch/powerpc/kernel/eeh_pe.c | 24 +++++++++++++----------- > arch/powerpc/platforms/powernv/eeh-powernv.c | 5 ++---
Doesn't build ? arch/powerpc/platforms/pseries/eeh_pseries.c: In function ‘pseries_eeh_probe’: arch/powerpc/platforms/pseries/eeh_pseries.c:250:15: error: ‘struct eeh_dev’ has no member named ‘phb’ pe.phb = edev->phb; ^~ cheers