diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-23 16:53:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-23 20:52:36 -0500 |
commit | 0a3716eb04ccfdbef6e872a343ba7ce309237e79 (patch) | |
tree | e445caae36f122724e74dbdeea730eea9df724bd | |
parent | 02c608c1fefe821a4c6fc34c45a0dea3cebf4764 (diff) |
mvsas: fix build warning, clean prototypes
- Fix build 'make randconfig' build warning spotted by Toralf Foerster:
drivers/scsi/mvsas.c: In function 'mvs_hexdump':
drivers/scsi/mvsas.c:715: error: implicit declaration of function 'isalnum'
- Remove unneeded prototypes (spotted by hch)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rwxr-xr-x | drivers/scsi/mvsas.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/scsi/mvsas.c b/drivers/scsi/mvsas.c index 30e20e69715a..d4a6ac3c9c47 100755 --- a/drivers/scsi/mvsas.c +++ b/drivers/scsi/mvsas.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/spinlock.h> | 35 | #include <linux/spinlock.h> |
36 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
37 | #include <linux/dma-mapping.h> | 37 | #include <linux/dma-mapping.h> |
38 | #include <linux/ctype.h> | ||
38 | #include <scsi/libsas.h> | 39 | #include <scsi/libsas.h> |
39 | #include <asm/io.h> | 40 | #include <asm/io.h> |
40 | 41 | ||
@@ -632,15 +633,6 @@ static int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, | |||
632 | void *funcdata); | 633 | void *funcdata); |
633 | static u32 mvs_read_phy_ctl(struct mvs_info *mvi, u32 port); | 634 | static u32 mvs_read_phy_ctl(struct mvs_info *mvi, u32 port); |
634 | static void mvs_write_phy_ctl(struct mvs_info *mvi, u32 port, u32 val); | 635 | static void mvs_write_phy_ctl(struct mvs_info *mvi, u32 port, u32 val); |
635 | static u32 mvs_read_port(struct mvs_info *mvi, u32 off, u32 off2, u32 port); | ||
636 | static void mvs_write_port(struct mvs_info *mvi, u32 off, u32 off2, | ||
637 | u32 port, u32 val); | ||
638 | static u32 mvs_read_port_cfg_data(struct mvs_info *mvi, u32 port); | ||
639 | static void mvs_write_port_cfg_data(struct mvs_info *mvi, u32 port, u32 val); | ||
640 | static void mvs_write_port_cfg_addr(struct mvs_info *mvi, u32 port, u32 addr); | ||
641 | static u32 mvs_read_port_vsr_data(struct mvs_info *mvi, u32 port); | ||
642 | static void mvs_write_port_vsr_data(struct mvs_info *mvi, u32 port, u32 val); | ||
643 | static void mvs_write_port_vsr_addr(struct mvs_info *mvi, u32 port, u32 addr); | ||
644 | static u32 mvs_read_port_irq_stat(struct mvs_info *mvi, u32 port); | 636 | static u32 mvs_read_port_irq_stat(struct mvs_info *mvi, u32 port); |
645 | static void mvs_write_port_irq_stat(struct mvs_info *mvi, u32 port, u32 val); | 637 | static void mvs_write_port_irq_stat(struct mvs_info *mvi, u32 port, u32 val); |
646 | static void mvs_write_port_irq_mask(struct mvs_info *mvi, u32 port, u32 val); | 638 | static void mvs_write_port_irq_mask(struct mvs_info *mvi, u32 port, u32 val); |
@@ -649,9 +641,6 @@ static u32 mvs_read_port_irq_mask(struct mvs_info *mvi, u32 port); | |||
649 | static u32 mvs_is_phy_ready(struct mvs_info *mvi, int i); | 641 | static u32 mvs_is_phy_ready(struct mvs_info *mvi, int i); |
650 | static void mvs_detect_porttype(struct mvs_info *mvi, int i); | 642 | static void mvs_detect_porttype(struct mvs_info *mvi, int i); |
651 | static void mvs_update_phyinfo(struct mvs_info *mvi, int i, int get_st); | 643 | static void mvs_update_phyinfo(struct mvs_info *mvi, int i, int get_st); |
652 | static void mvs_free_reg_set(struct mvs_info *mvi, struct mvs_port *port); | ||
653 | static u8 mvs_assign_reg_set(struct mvs_info *mvi, struct mvs_port *port); | ||
654 | static u32 mvs_is_sig_fis_received(u32 irq_status); | ||
655 | 644 | ||
656 | static int mvs_scan_finished(struct Scsi_Host *, unsigned long); | 645 | static int mvs_scan_finished(struct Scsi_Host *, unsigned long); |
657 | static void mvs_scan_start(struct Scsi_Host *); | 646 | static void mvs_scan_start(struct Scsi_Host *); |