]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/scsi/sr.c
[SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel
[net-next-2.6.git] / drivers / scsi / sr.c
index 5143c899084523f3b9f47e67577757b6ce97a5ad..902eb11ffe8a1110d0c911a367432f06865dd3a0 100644 (file)
@@ -175,7 +175,7 @@ static void scsi_cd_put(struct scsi_cd *cd)
  * an inode for that to work, and we do not always have one.
  */
 
-int sr_media_change(struct cdrom_device_info *cdi, int slot)
+static int sr_media_change(struct cdrom_device_info *cdi, int slot)
 {
        struct scsi_cd *cd = cdi->handle;
        int retval;
@@ -624,7 +624,7 @@ static void get_sectorsize(struct scsi_cd *cd)
        unsigned char *buffer;
        int the_result, retries = 3;
        int sector_size;
-       request_queue_t *queue;
+       struct request_queue *queue;
 
        buffer = kmalloc(512, GFP_KERNEL | GFP_DMA);
        if (!buffer)