summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/pci-ide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pci-ide.cpp')
-rw-r--r--src/devices/machine/pci-ide.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/pci-ide.cpp b/src/devices/machine/pci-ide.cpp
index e7c97b1b642..9af847777c5 100644
--- a/src/devices/machine/pci-ide.cpp
+++ b/src/devices/machine/pci-ide.cpp
@@ -3,10 +3,10 @@
#include "emu.h"
#include "pci-ide.h"
-const device_type IDE_PCI = device_creator<ide_pci_device>;
+DEFINE_DEVICE_TYPE(IDE_PCI, ide_pci_device, "ide_pci", "PCI IDE interface")
ide_pci_device::ide_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : pci_device(mconfig, IDE_PCI, "IDE PCI interface", tag, owner, clock, "ide_pci", __FILE__),
+ : pci_device(mconfig, IDE_PCI, tag, owner, clock),
m_ide(*this, "ide"),
m_ide2(*this, "ide2"),
m_irq_num(-1),