aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/pr-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/pr-manager.h')
-rw-r--r--include/scsi/pr-manager.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/scsi/pr-manager.h b/include/scsi/pr-manager.h
index f801fe9533..26bd134531 100644
--- a/include/scsi/pr-manager.h
+++ b/include/scsi/pr-manager.h
@@ -9,10 +9,8 @@
#define TYPE_PR_MANAGER "pr-manager"
-typedef struct PRManager PRManager;
-typedef struct PRManagerClass PRManagerClass;
-DECLARE_OBJ_CHECKERS(PRManager, PRManagerClass,
- PR_MANAGER, TYPE_PR_MANAGER)
+OBJECT_DECLARE_TYPE(PRManager, PRManagerClass,
+ pr_manager, PR_MANAGER)
struct sg_io_hdr;