tools: remove shadow field
Rename pci for AspeedPciBridge and NuvotonPciBridge.
Parameter 'pci' shadows member inherited from type 'PciAccessBridge'
Signed-off-by: Willy Tu <wltu@google.com>
Change-Id: I5cb136570764962c5b985f52fe87a4e0b89e5279
diff --git a/tools/pci.hpp b/tools/pci.hpp
index 6c901ca..ae74e9d 100644
--- a/tools/pci.hpp
+++ b/tools/pci.hpp
@@ -82,9 +82,9 @@
class NuvotonPciBridge : public PciAccessBridge
{
public:
- explicit NuvotonPciBridge(const PciAccess* pci,
+ explicit NuvotonPciBridge(const PciAccess* pciAccess,
bool skipBridgeDisable = false) :
- PciAccessBridge(&match, bar, dataOffset, dataLength, pci),
+ PciAccessBridge(&match, bar, dataOffset, dataLength, pciAccess),
skipBridgeDisable(skipBridgeDisable)
{
enableBridge();
@@ -120,9 +120,9 @@
class AspeedPciBridge : public PciAccessBridge
{
public:
- explicit AspeedPciBridge(const PciAccess* pci,
+ explicit AspeedPciBridge(const PciAccess* pciAccess,
bool skipBridgeDisable = false) :
- PciAccessBridge(&match, bar, dataOffset, dataLength, pci),
+ PciAccessBridge(&match, bar, dataOffset, dataLength, pciAccess),
skipBridgeDisable(skipBridgeDisable)
{
enableBridge();