[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define
    Gala Kumar-B11780 
    B11780 at freescale.com
       
    Wed Oct  3 23:22:32 EST 2012
    
    
  
On Sep 27, 2012, at 2:02 PM, Chunhe Lan wrote:
> There are some differences of register offset and definition between
> pci and pcie error management registers. While, some other pci/pcie
> error management registers are nearly the same.
> 
> To merge pci and pcie edac code into one, it is easier to use ccsr_pci
> structure than the hardcoded define. So remove the hardcoded define and
> add pci/pcie error management register in ccsr_pci structure.
> 
> Signed-off-by: Chunhe Lan <Chunhe.Lan at freescale.com>
> ---
> arch/powerpc/sysdev/fsl_pci.h |   46 +++++++++++++++++++++++++++++++++-------
> drivers/edac/mpc85xx_edac.h   |   12 +---------
> 2 files changed, 40 insertions(+), 18 deletions(-)
This patch breaks building the kernel.  You can't remove the defines MPC85XX_PCI_ERR_* and not change the code that uses them
- k
    
    
More information about the Linuxppc-dev
mailing list