diff options
author | Christoph Hellwig <hch@lst.de> | 2005-10-31 12:31:56 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-09 15:46:55 -0500 |
commit | 0a04137e75204e370dbdf2376033853eea126de7 (patch) | |
tree | f4194f31a167a73185c17890ed0c7bf70af97514 /drivers/scsi/arm/scsi.h | |
parent | d0be4a7d29ad0bd3ce2209dd9e46d410b632db59 (diff) |
[SCSI] remove Scsi_Pointer typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/arm/scsi.h')
-rw-r--r-- | drivers/scsi/arm/scsi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/arm/scsi.h b/drivers/scsi/arm/scsi.h index 19937640e2e7..6dd544a5eb56 100644 --- a/drivers/scsi/arm/scsi.h +++ b/drivers/scsi/arm/scsi.h | |||
@@ -18,7 +18,7 @@ | |||
18 | * The scatter-gather list handling. This contains all | 18 | * The scatter-gather list handling. This contains all |
19 | * the yucky stuff that needs to be fixed properly. | 19 | * the yucky stuff that needs to be fixed properly. |
20 | */ | 20 | */ |
21 | static inline int copy_SCp_to_sg(struct scatterlist *sg, Scsi_Pointer *SCp, int max) | 21 | static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) |
22 | { | 22 | { |
23 | int bufs = SCp->buffers_residual; | 23 | int bufs = SCp->buffers_residual; |
24 | 24 | ||
@@ -32,7 +32,7 @@ static inline int copy_SCp_to_sg(struct scatterlist *sg, Scsi_Pointer *SCp, int | |||
32 | return bufs + 1; | 32 | return bufs + 1; |
33 | } | 33 | } |
34 | 34 | ||
35 | static inline int next_SCp(Scsi_Pointer *SCp) | 35 | static inline int next_SCp(struct scsi_pointer *SCp) |
36 | { | 36 | { |
37 | int ret = SCp->buffers_residual; | 37 | int ret = SCp->buffers_residual; |
38 | if (ret) { | 38 | if (ret) { |
@@ -49,7 +49,7 @@ static inline int next_SCp(Scsi_Pointer *SCp) | |||
49 | return ret; | 49 | return ret; |
50 | } | 50 | } |
51 | 51 | ||
52 | static inline unsigned char get_next_SCp_byte(Scsi_Pointer *SCp) | 52 | static inline unsigned char get_next_SCp_byte(struct scsi_pointer *SCp) |
53 | { | 53 | { |
54 | char c = *SCp->ptr; | 54 | char c = *SCp->ptr; |
55 | 55 | ||
@@ -59,7 +59,7 @@ static inline unsigned char get_next_SCp_byte(Scsi_Pointer *SCp) | |||
59 | return c; | 59 | return c; |
60 | } | 60 | } |
61 | 61 | ||
62 | static inline void put_next_SCp_byte(Scsi_Pointer *SCp, unsigned char c) | 62 | static inline void put_next_SCp_byte(struct scsi_pointer *SCp, unsigned char c) |
63 | { | 63 | { |
64 | *SCp->ptr = c; | 64 | *SCp->ptr = c; |
65 | SCp->ptr += 1; | 65 | SCp->ptr += 1; |