diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-07-24 03:28:11 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-24 03:28:11 -0400 |
commit | 165125e1e480f9510a5ffcfbfee4e3ee38c05f23 (patch) | |
tree | 8009c8a5ff09e26dc2418d42f66ecafb055c52a2 /drivers/block/paride | |
parent | f695baf2df9e0413d3521661070103711545207a (diff) |
[BLOCK] Get rid of request_queue_t typedef
Some of the code has been gradually transitioned to using the proper
struct request_queue, but there's lots left. So do a full sweet of
the kernel and get rid of this typedef and replace its uses with
the proper type.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/paride')
-rw-r--r-- | drivers/block/paride/pcd.c | 4 | ||||
-rw-r--r-- | drivers/block/paride/pd.c | 2 | ||||
-rw-r--r-- | drivers/block/paride/pf.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 1eeb8f2cde71..b8a994a2b013 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -183,7 +183,7 @@ static int pcd_packet(struct cdrom_device_info *cdi, | |||
183 | static int pcd_detect(void); | 183 | static int pcd_detect(void); |
184 | static void pcd_probe_capabilities(void); | 184 | static void pcd_probe_capabilities(void); |
185 | static void do_pcd_read_drq(void); | 185 | static void do_pcd_read_drq(void); |
186 | static void do_pcd_request(request_queue_t * q); | 186 | static void do_pcd_request(struct request_queue * q); |
187 | static void do_pcd_read(void); | 187 | static void do_pcd_read(void); |
188 | 188 | ||
189 | struct pcd_unit { | 189 | struct pcd_unit { |
@@ -713,7 +713,7 @@ static int pcd_detect(void) | |||
713 | /* I/O request processing */ | 713 | /* I/O request processing */ |
714 | static struct request_queue *pcd_queue; | 714 | static struct request_queue *pcd_queue; |
715 | 715 | ||
716 | static void do_pcd_request(request_queue_t * q) | 716 | static void do_pcd_request(struct request_queue * q) |
717 | { | 717 | { |
718 | if (pcd_busy) | 718 | if (pcd_busy) |
719 | return; | 719 | return; |
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 31e01488eb51..df819f8a95a6 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -698,7 +698,7 @@ static enum action pd_identify(struct pd_unit *disk) | |||
698 | 698 | ||
699 | /* end of io request engine */ | 699 | /* end of io request engine */ |
700 | 700 | ||
701 | static void do_pd_request(request_queue_t * q) | 701 | static void do_pd_request(struct request_queue * q) |
702 | { | 702 | { |
703 | if (pd_req) | 703 | if (pd_req) |
704 | return; | 704 | return; |
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 5826508f6731..ceffa6034e20 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -202,7 +202,7 @@ module_param_array(drive3, int, NULL, 0); | |||
202 | #define ATAPI_WRITE_10 0x2a | 202 | #define ATAPI_WRITE_10 0x2a |
203 | 203 | ||
204 | static int pf_open(struct inode *inode, struct file *file); | 204 | static int pf_open(struct inode *inode, struct file *file); |
205 | static void do_pf_request(request_queue_t * q); | 205 | static void do_pf_request(struct request_queue * q); |
206 | static int pf_ioctl(struct inode *inode, struct file *file, | 206 | static int pf_ioctl(struct inode *inode, struct file *file, |
207 | unsigned int cmd, unsigned long arg); | 207 | unsigned int cmd, unsigned long arg); |
208 | static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo); | 208 | static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo); |
@@ -760,7 +760,7 @@ static void pf_end_request(int uptodate) | |||
760 | } | 760 | } |
761 | } | 761 | } |
762 | 762 | ||
763 | static void do_pf_request(request_queue_t * q) | 763 | static void do_pf_request(struct request_queue * q) |
764 | { | 764 | { |
765 | if (pf_busy) | 765 | if (pf_busy) |
766 | return; | 766 | return; |