summaryrefslogtreecommitdiff
path: root/include/scsi/scsicam.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsicam.h')
-rw-r--r--include/scsi/scsicam.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/scsi/scsicam.h b/include/scsi/scsicam.h
index 57c729254569..1131f51ed2c8 100644
--- a/include/scsi/scsicam.h
+++ b/include/scsi/scsicam.h
@@ -13,8 +13,8 @@
#ifndef SCSICAM_H
#define SCSICAM_H
-extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
-extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
- unsigned int *cyls, unsigned int *hds, unsigned int *secs);
-extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
+struct gendisk;
+int scsicam_bios_param(struct gendisk *disk, sector_t capacity, int *ip);
+bool scsi_partsize(struct gendisk *disk, sector_t capacity, int geom[3]);
+unsigned char *scsi_bios_ptable(struct gendisk *disk);
#endif /* def SCSICAM_H */