diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/blktrans.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/mtd/blktrans.h b/include/linux/mtd/blktrans.h index 8b4aa0523db7..a4b392868b54 100644 --- a/include/linux/mtd/blktrans.h +++ b/include/linux/mtd/blktrans.h | |||
@@ -24,11 +24,13 @@ struct mtd_blktrans_dev { | |||
24 | int devnum; | 24 | int devnum; |
25 | unsigned long size; | 25 | unsigned long size; |
26 | int readonly; | 26 | int readonly; |
27 | void *blkcore_priv; /* gendisk in 2.5, devfs_handle in 2.4 */ | 27 | struct gendisk *disk; |
28 | struct task_struct *thread; | ||
29 | struct request_queue *rq; | ||
30 | spinlock_t queue_lock; | ||
31 | void *priv; | ||
28 | }; | 32 | }; |
29 | 33 | ||
30 | struct blkcore_priv; /* Differs for 2.4 and 2.5 kernels; private */ | ||
31 | |||
32 | struct mtd_blktrans_ops { | 34 | struct mtd_blktrans_ops { |
33 | char *name; | 35 | char *name; |
34 | int major; | 36 | int major; |
@@ -60,8 +62,6 @@ struct mtd_blktrans_ops { | |||
60 | struct list_head devs; | 62 | struct list_head devs; |
61 | struct list_head list; | 63 | struct list_head list; |
62 | struct module *owner; | 64 | struct module *owner; |
63 | |||
64 | struct mtd_blkcore_priv *blkcore_priv; | ||
65 | }; | 65 | }; |
66 | 66 | ||
67 | extern int register_mtd_blktrans(struct mtd_blktrans_ops *tr); | 67 | extern int register_mtd_blktrans(struct mtd_blktrans_ops *tr); |