diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-25 22:45:58 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-20 13:53:35 -0400 |
commit | 4833869e6e6c2315e301c256e393dfb949c10076 (patch) | |
tree | 1046a11787dd5d1683e5184dec3f24f0d18f610d /drivers/scsi/aacraid/aachba.c | |
parent | 47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129 (diff) |
[SCSI] drivers/scsi/aacraid/: make some functions static
This patch makes some needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/aachba.c')
-rw-r--r-- | drivers/scsi/aacraid/aachba.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index f3fc35386060..66d48e0c4cd7 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -562,10 +562,10 @@ static void setinqstr(int devtype, void *data, int tindex) | |||
562 | inqstrcpy ("V1.0", str->prl); | 562 | inqstrcpy ("V1.0", str->prl); |
563 | } | 563 | } |
564 | 564 | ||
565 | void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, | 565 | static void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, |
566 | u8 a_sense_code, u8 incorrect_length, | 566 | u8 a_sense_code, u8 incorrect_length, |
567 | u8 bit_pointer, u16 field_pointer, | 567 | u8 bit_pointer, u16 field_pointer, |
568 | u32 residue) | 568 | u32 residue) |
569 | { | 569 | { |
570 | sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */ | 570 | sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */ |
571 | sense_buf[1] = 0; /* Segment number, always zero */ | 571 | sense_buf[1] = 0; /* Segment number, always zero */ |
@@ -813,7 +813,7 @@ static void write_callback(void *context, struct fib * fibptr) | |||
813 | aac_io_done(scsicmd); | 813 | aac_io_done(scsicmd); |
814 | } | 814 | } |
815 | 815 | ||
816 | int aac_read(struct scsi_cmnd * scsicmd, int cid) | 816 | static int aac_read(struct scsi_cmnd * scsicmd, int cid) |
817 | { | 817 | { |
818 | u32 lba; | 818 | u32 lba; |
819 | u32 count; | 819 | u32 count; |