File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
arch/powerpc/platforms/powernv Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4545#include "pci.h"
4646#include "../../../../drivers/pci/pci.h"
4747
48- static const char * const pnv_phb_names [] = { "IODA1" , "IODA2" , "NPU_OCAPI" };
48+ /* This array is indexed with enum pnv_phb_type */
49+ static const char * const pnv_phb_names [] = { "IODA2" , "NPU_OCAPI" };
4950
5051static void pnv_pci_ioda2_set_bypass (struct pnv_ioda_pe * pe , bool enable );
5152static void pnv_pci_configure_bus (struct pci_bus * bus );
@@ -359,7 +360,7 @@ static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb)
359360 const __be32 * r ;
360361 u64 pci_addr ;
361362
362- if (phb -> type != PNV_PHB_IODA1 && phb -> type != PNV_PHB_IODA2 ) {
363+ if (phb -> type != PNV_PHB_IODA2 ) {
363364 pr_info (" Not support M64 window\n" );
364365 return ;
365366 }
Original file line number Diff line number Diff line change 1010struct pci_dn ;
1111
1212enum pnv_phb_type {
13- PNV_PHB_IODA1 ,
1413 PNV_PHB_IODA2 ,
1514 PNV_PHB_NPU_OCAPI ,
1615};
You can’t perform that action at this time.
0 commit comments