OSDN Git Service

ppc/pnv/pci: Remove duplicate definition of PNV_PHB5_DEVICE_ID
authorFrederic Barrat <fbarrat@linux.ibm.com>
Fri, 27 Jan 2023 12:28:46 +0000 (13:28 +0100)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sun, 5 Feb 2023 09:40:28 +0000 (06:40 -0300)
PNV_PHB5_DEVICE_ID is defined in two different headers. The definition
in hw/pci-host/pnv_phb4.h was left out in a previous rework.

Remaining definition is in hw/pci-host/pnv_phb.h.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20230127122848.550083-3-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
include/hw/pci-host/pnv_phb4.h

index 17aef08..7615256 100644 (file)
@@ -215,7 +215,6 @@ struct PnvPhb4PecClass {
     OBJECT_CHECK(PnvPhb4, (obj), TYPE_PNV_PHB5)
 
 #define PNV_PHB5_VERSION           0x000000a500000001ull
-#define PNV_PHB5_DEVICE_ID         0x0652
 
 #define TYPE_PNV_PHB5_PEC "pnv-phb5-pec"
 #define PNV_PHB5_PEC(obj) \