summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rf5c296.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/rf5c296.cpp')
-rw-r--r--src/devices/machine/rf5c296.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/machine/rf5c296.cpp b/src/devices/machine/rf5c296.cpp
index ee6d3e0ea54..b3582f6bfa3 100644
--- a/src/devices/machine/rf5c296.cpp
+++ b/src/devices/machine/rf5c296.cpp
@@ -10,14 +10,12 @@ DEFINE_DEVICE_TYPE(RF5C296, rf5c296_device, "rf5c296", "RF5C296 PC Card controll
rf5c296_device::rf5c296_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, RF5C296, tag, owner, clock)
, m_rf5c296_reg(0)
- , m_pccard(nullptr)
- , m_pccard_name(nullptr)
+ , m_pccard(*this, finder_base::DUMMY_TAG)
{
}
void rf5c296_device::device_start()
{
- m_pccard = machine().device<pccard_slot_device>(m_pccard_name);
}
void rf5c296_device::reg_w(ATTR_UNUSED uint8_t reg, uint8_t data)