summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rtpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rtpc')
-rw-r--r--src/devices/bus/rtpc/kbd.cpp2
-rw-r--r--src/devices/bus/rtpc/kbd.h2
-rw-r--r--src/devices/bus/rtpc/kbd_con.cpp2
-rw-r--r--src/devices/bus/rtpc/kbd_con.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/rtpc/kbd.cpp b/src/devices/bus/rtpc/kbd.cpp
index 13cc1759a2d..33234f03694 100644
--- a/src/devices/bus/rtpc/kbd.cpp
+++ b/src/devices/bus/rtpc/kbd.cpp
@@ -57,7 +57,7 @@
DEFINE_DEVICE_TYPE(RTPC_KBD, rtpc_kbd_device, "rtpc_kbd", "IBM PC RT Keyboard")
-rtpc_kbd_device::rtpc_kbd_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+rtpc_kbd_device::rtpc_kbd_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, RTPC_KBD, tag, owner, clock)
, device_rtpc_kbd_interface(mconfig, *this)
, m_mcu(*this, "mcu")
diff --git a/src/devices/bus/rtpc/kbd.h b/src/devices/bus/rtpc/kbd.h
index 860cb5c2218..b9962577122 100644
--- a/src/devices/bus/rtpc/kbd.h
+++ b/src/devices/bus/rtpc/kbd.h
@@ -14,7 +14,7 @@ class rtpc_kbd_device
, public device_rtpc_kbd_interface
{
public:
- rtpc_kbd_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ rtpc_kbd_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
// device_t overrides
diff --git a/src/devices/bus/rtpc/kbd_con.cpp b/src/devices/bus/rtpc/kbd_con.cpp
index f8617fe3ef5..6b4c552b462 100644
--- a/src/devices/bus/rtpc/kbd_con.cpp
+++ b/src/devices/bus/rtpc/kbd_con.cpp
@@ -17,7 +17,7 @@
DEFINE_DEVICE_TYPE(RTPC_KBD_CON, rtpc_kbd_con_device, "rtpc_kbd_con", "RT PC keyboard connector")
-rtpc_kbd_con_device::rtpc_kbd_con_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+rtpc_kbd_con_device::rtpc_kbd_con_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, RTPC_KBD_CON, tag, owner, clock)
, device_single_card_slot_interface<device_rtpc_kbd_interface>(mconfig, *this)
, m_out_clock_cb(*this)
diff --git a/src/devices/bus/rtpc/kbd_con.h b/src/devices/bus/rtpc/kbd_con.h
index b066fc56137..18e7e13ecb3 100644
--- a/src/devices/bus/rtpc/kbd_con.h
+++ b/src/devices/bus/rtpc/kbd_con.h
@@ -15,14 +15,14 @@ class rtpc_kbd_con_device
public:
template <typename T>
rtpc_kbd_con_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
- : rtpc_kbd_con_device(mconfig, tag, owner, 0U)
+ : rtpc_kbd_con_device(mconfig, tag, owner)
{
option_reset();
opts(*this);
set_default_option(dflt);
set_fixed(false);
}
- rtpc_kbd_con_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock = 0U);
+ rtpc_kbd_con_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock = XTAL());
auto out_clock_cb() { return m_out_clock_cb.bind(); }
auto out_data_cb() { return m_out_data_cb.bind(); }