summaryrefslogtreecommitdiffstats
path: root/hw/scsi/mptsas.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/scsi/mptsas.h')
-rw-r--r--hw/scsi/mptsas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/scsi/mptsas.h b/hw/scsi/mptsas.h
index 2e76bda79e..b85ac1a5fc 100644
--- a/hw/scsi/mptsas.h
+++ b/hw/scsi/mptsas.h
@@ -16,8 +16,8 @@ typedef struct MPTSASRequest MPTSASRequest;
#define TYPE_MPTSAS1068 "mptsas1068"
typedef struct MPTSASState MPTSASState;
-#define MPT_SAS(obj) \
- OBJECT_CHECK(MPTSASState, (obj), TYPE_MPTSAS1068)
+DECLARE_INSTANCE_CHECKER(MPTSASState, MPT_SAS,
+ TYPE_MPTSAS1068)
enum {
DOORBELL_NONE,