summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/p1_fdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/p1_fdc.h')
-rw-r--r--src/devices/bus/isa/p1_fdc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/isa/p1_fdc.h b/src/devices/bus/isa/p1_fdc.h
index 672d80f7773..81d17bb4bf5 100644
--- a/src/devices/bus/isa/p1_fdc.h
+++ b/src/devices/bus/isa/p1_fdc.h
@@ -6,14 +6,14 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_ISA_P1_FDC_H
+#define MAME_BUS_ISA_P1_FDC_H
-#ifndef __P1_FDC__
-#define __P1_FDC__
+#pragma once
-#include "imagedev/flopdrv.h"
#include "isa.h"
+#include "imagedev/flopdrv.h"
#include "machine/wd_fdc.h"
//**************************************************************************
@@ -42,7 +42,7 @@ protected:
virtual void device_reset() override;
private:
- required_device<fd1793_t> m_fdc;
+ required_device<fd1793_device> m_fdc;
public:
void p1_wd17xx_aux_w(int data);
@@ -52,7 +52,7 @@ public:
// device type definition
-extern const device_type P1_FDC;
+DECLARE_DEVICE_TYPE(P1_FDC, p1_fdc_device)
-#endif
+#endif // MAME_BUS_ISA_P1_FDC_H