aboutsummaryrefslogtreecommitdiff
path: root/scsi/pr-manager-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'scsi/pr-manager-helper.c')
-rw-r--r--scsi/pr-manager-helper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/scsi/pr-manager-helper.c b/scsi/pr-manager-helper.c
index 59ba4b70ae..d735b1e7f6 100644
--- a/scsi/pr-manager-helper.c
+++ b/scsi/pr-manager-helper.c
@@ -28,9 +28,8 @@
#define TYPE_PR_MANAGER_HELPER "pr-manager-helper"
typedef struct PRManagerHelper PRManagerHelper;
-#define PR_MANAGER_HELPER(obj) \
- OBJECT_CHECK(PRManagerHelper, (obj), \
- TYPE_PR_MANAGER_HELPER)
+DECLARE_INSTANCE_CHECKER(PRManagerHelper, PR_MANAGER_HELPER,
+ TYPE_PR_MANAGER_HELPER)
struct PRManagerHelper {
/* <private> */