diff options
Diffstat (limited to 'drivers/block/ub.c')
-rw-r--r-- | drivers/block/ub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 8b13d7d2cb63..c57dd2b3a0c8 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -503,7 +503,7 @@ static void ub_cleanup(struct ub_dev *sc) | |||
503 | { | 503 | { |
504 | struct list_head *p; | 504 | struct list_head *p; |
505 | struct ub_lun *lun; | 505 | struct ub_lun *lun; |
506 | request_queue_t *q; | 506 | struct request_queue *q; |
507 | 507 | ||
508 | while (!list_empty(&sc->luns)) { | 508 | while (!list_empty(&sc->luns)) { |
509 | p = sc->luns.next; | 509 | p = sc->luns.next; |
@@ -619,7 +619,7 @@ static struct ub_scsi_cmd *ub_cmdq_pop(struct ub_dev *sc) | |||
619 | * The request function is our main entry point | 619 | * The request function is our main entry point |
620 | */ | 620 | */ |
621 | 621 | ||
622 | static void ub_request_fn(request_queue_t *q) | 622 | static void ub_request_fn(struct request_queue *q) |
623 | { | 623 | { |
624 | struct ub_lun *lun = q->queuedata; | 624 | struct ub_lun *lun = q->queuedata; |
625 | struct request *rq; | 625 | struct request *rq; |
@@ -2273,7 +2273,7 @@ err_core: | |||
2273 | static int ub_probe_lun(struct ub_dev *sc, int lnum) | 2273 | static int ub_probe_lun(struct ub_dev *sc, int lnum) |
2274 | { | 2274 | { |
2275 | struct ub_lun *lun; | 2275 | struct ub_lun *lun; |
2276 | request_queue_t *q; | 2276 | struct request_queue *q; |
2277 | struct gendisk *disk; | 2277 | struct gendisk *disk; |
2278 | int rc; | 2278 | int rc; |
2279 | 2279 | ||