summaryrefslogtreecommitdiff
path: root/drivers/md/linear.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/linear.h')
-rw-r--r--drivers/md/linear.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/md/linear.h b/drivers/md/linear.h
index 0ce29b61605a..b685ddd7d7f7 100644
--- a/drivers/md/linear.h
+++ b/drivers/md/linear.h
@@ -2,20 +2,14 @@
#define _LINEAR_H
struct dev_info {
- mdk_rdev_t *rdev;
+ struct md_rdev *rdev;
sector_t end_sector;
};
-typedef struct dev_info dev_info_t;
-
-struct linear_private_data
+struct linear_conf
{
- sector_t array_sectors;
- dev_info_t disks[0];
struct rcu_head rcu;
+ sector_t array_sectors;
+ struct dev_info disks[0];
};
-
-
-typedef struct linear_private_data linear_conf_t;
-
#endif