summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo/devinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevinfo/devinfo.h')
-rw-r--r--lib/libdevinfo/devinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libdevinfo/devinfo.h b/lib/libdevinfo/devinfo.h
index b0b8cec..f946446 100644
--- a/lib/libdevinfo/devinfo.h
+++ b/lib/libdevinfo/devinfo.h
@@ -56,8 +56,8 @@ struct devinfo_dev {
struct devinfo_rman {
devinfo_handle_t dm_handle; /* resource manager handle */
- unsigned long dm_start; /* resource start */
- unsigned long dm_size; /* resource size */
+ rman_res_t dm_start; /* resource start */
+ rman_res_t dm_size; /* resource size */
char *dm_desc; /* resource description */
};
@@ -67,8 +67,8 @@ struct devinfo_res {
devinfo_handle_t dr_rman; /* resource manager handle */
devinfo_handle_t dr_device; /* owning device */
- unsigned long dr_start; /* region start */
- unsigned long dr_size; /* region size */
+ rman_res_t dr_start; /* region start */
+ rman_res_t dr_size; /* region size */
/* XXX add flags */
};
OpenPOWER on IntegriCloud