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/mmc/card/queue.c | |
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/mmc/card/queue.c')
-rw-r--r-- | drivers/mmc/card/queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index b53dac8d1b69..e02eac876362 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c | |||
@@ -83,7 +83,7 @@ static int mmc_queue_thread(void *d) | |||
83 | * on any queue on this host, and attempt to issue it. This may | 83 | * on any queue on this host, and attempt to issue it. This may |
84 | * not be the queue we were asked to process. | 84 | * not be the queue we were asked to process. |
85 | */ | 85 | */ |
86 | static void mmc_request(request_queue_t *q) | 86 | static void mmc_request(struct request_queue *q) |
87 | { | 87 | { |
88 | struct mmc_queue *mq = q->queuedata; | 88 | struct mmc_queue *mq = q->queuedata; |
89 | struct request *req; | 89 | struct request *req; |
@@ -211,7 +211,7 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock | |||
211 | 211 | ||
212 | void mmc_cleanup_queue(struct mmc_queue *mq) | 212 | void mmc_cleanup_queue(struct mmc_queue *mq) |
213 | { | 213 | { |
214 | request_queue_t *q = mq->queue; | 214 | struct request_queue *q = mq->queue; |
215 | unsigned long flags; | 215 | unsigned long flags; |
216 | 216 | ||
217 | /* Mark that we should start throwing out stragglers */ | 217 | /* Mark that we should start throwing out stragglers */ |
@@ -252,7 +252,7 @@ EXPORT_SYMBOL(mmc_cleanup_queue); | |||
252 | */ | 252 | */ |
253 | void mmc_queue_suspend(struct mmc_queue *mq) | 253 | void mmc_queue_suspend(struct mmc_queue *mq) |
254 | { | 254 | { |
255 | request_queue_t *q = mq->queue; | 255 | struct request_queue *q = mq->queue; |
256 | unsigned long flags; | 256 | unsigned long flags; |
257 | 257 | ||
258 | if (!(mq->flags & MMC_QUEUE_SUSPENDED)) { | 258 | if (!(mq->flags & MMC_QUEUE_SUSPENDED)) { |
@@ -272,7 +272,7 @@ void mmc_queue_suspend(struct mmc_queue *mq) | |||
272 | */ | 272 | */ |
273 | void mmc_queue_resume(struct mmc_queue *mq) | 273 | void mmc_queue_resume(struct mmc_queue *mq) |
274 | { | 274 | { |
275 | request_queue_t *q = mq->queue; | 275 | struct request_queue *q = mq->queue; |
276 | unsigned long flags; | 276 | unsigned long flags; |
277 | 277 | ||
278 | if (mq->flags & MMC_QUEUE_SUSPENDED) { | 278 | if (mq->flags & MMC_QUEUE_SUSPENDED) { |