[SCSI] remove Scsi_Pointer typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
d0be4a7d29
commit
0a04137e75
@ -18,7 +18,7 @@
|
||||
* The scatter-gather list handling. This contains all
|
||||
* the yucky stuff that needs to be fixed properly.
|
||||
*/
|
||||
static inline int copy_SCp_to_sg(struct scatterlist *sg, Scsi_Pointer *SCp, int max)
|
||||
static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max)
|
||||
{
|
||||
int bufs = SCp->buffers_residual;
|
||||
|
||||
@ -32,7 +32,7 @@ static inline int copy_SCp_to_sg(struct scatterlist *sg, Scsi_Pointer *SCp, int
|
||||
return bufs + 1;
|
||||
}
|
||||
|
||||
static inline int next_SCp(Scsi_Pointer *SCp)
|
||||
static inline int next_SCp(struct scsi_pointer *SCp)
|
||||
{
|
||||
int ret = SCp->buffers_residual;
|
||||
if (ret) {
|
||||
@ -49,7 +49,7 @@ static inline int next_SCp(Scsi_Pointer *SCp)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline unsigned char get_next_SCp_byte(Scsi_Pointer *SCp)
|
||||
static inline unsigned char get_next_SCp_byte(struct scsi_pointer *SCp)
|
||||
{
|
||||
char c = *SCp->ptr;
|
||||
|
||||
@ -59,7 +59,7 @@ static inline unsigned char get_next_SCp_byte(Scsi_Pointer *SCp)
|
||||
return c;
|
||||
}
|
||||
|
||||
static inline void put_next_SCp_byte(Scsi_Pointer *SCp, unsigned char c)
|
||||
static inline void put_next_SCp_byte(struct scsi_pointer *SCp, unsigned char c)
|
||||
{
|
||||
*SCp->ptr = c;
|
||||
SCp->ptr += 1;
|
||||
|
Reference in New Issue
Block a user