summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti8x/tispeaker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti8x/tispeaker.h')
-rw-r--r--src/devices/bus/ti8x/tispeaker.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/ti8x/tispeaker.h b/src/devices/bus/ti8x/tispeaker.h
index 308b316b3bf..1ee519f87e7 100644
--- a/src/devices/bus/ti8x/tispeaker.h
+++ b/src/devices/bus/ti8x/tispeaker.h
@@ -9,10 +9,6 @@
#include "sound/spkrdev.h"
-extern device_type const TI8X_SPEAKER_STEREO;
-extern device_type const TI8X_SPEAKER_MONO;
-
-
namespace bus { namespace ti8x {
class stereo_speaker_device : public device_t, public device_ti8x_link_port_interface
@@ -52,4 +48,8 @@ private:
} } // namespace bus::ti8x
+
+DECLARE_DEVICE_TYPE_NS(TI8X_SPEAKER_STEREO, bus::ti8x, stereo_speaker_device)
+DECLARE_DEVICE_TYPE_NS(TI8X_SPEAKER_MONO, bus::ti8x, mono_speaker_device)
+
#endif // MAME_DEVICES_BUS_TI8X_TISPEAKER_H