summaryrefslogtreecommitdiff
path: root/src/mem/qos/mem_sink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/qos/mem_sink.cc')
-rw-r--r--src/mem/qos/mem_sink.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/qos/mem_sink.cc b/src/mem/qos/mem_sink.cc
index 77cfbaf22..3ff2339d5 100644
--- a/src/mem/qos/mem_sink.cc
+++ b/src/mem/qos/mem_sink.cc
@@ -106,11 +106,11 @@ MemSinkCtrl::recvFunctional(PacketPtr pkt)
pkt->popLabel();
}
-BaseSlavePort &
-MemSinkCtrl::getSlavePort(const std::string &interface, PortID idx)
+Port &
+MemSinkCtrl::getPort(const std::string &interface, PortID idx)
{
if (interface != "port") {
- return MemObject::getSlavePort(interface, idx);
+ return MemObject::getPort(interface, idx);
} else {
return port;
}