diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-09 15:00:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-18 12:16:38 -0400 |
commit | 078dda95c521b1c78d1b5da69ac90d581abc9951 (patch) | |
tree | efba89dda46603996d998c4123982fd5f3568841 | |
parent | 44818efbad185eea75adad0e8cab97650a7370ab (diff) |
[SCSI] wd33c93: cleanups
- #include <asm/irq.h> for getting the prototypes of {dis,en}able_irq()
- make the needlessly global wd33c93_setup() static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/wd33c93.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index fa4e08e508ad..b92ff047af38 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c | |||
@@ -89,6 +89,8 @@ | |||
89 | #include <scsi/scsi_device.h> | 89 | #include <scsi/scsi_device.h> |
90 | #include <scsi/scsi_host.h> | 90 | #include <scsi/scsi_host.h> |
91 | 91 | ||
92 | #include <asm/irq.h> | ||
93 | |||
92 | #include "wd33c93.h" | 94 | #include "wd33c93.h" |
93 | 95 | ||
94 | #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns | 96 | #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns |
@@ -1762,7 +1764,7 @@ static char setup_buffer[SETUP_BUFFER_SIZE]; | |||
1762 | static char setup_used[MAX_SETUP_ARGS]; | 1764 | static char setup_used[MAX_SETUP_ARGS]; |
1763 | static int done_setup = 0; | 1765 | static int done_setup = 0; |
1764 | 1766 | ||
1765 | int | 1767 | static int |
1766 | wd33c93_setup(char *str) | 1768 | wd33c93_setup(char *str) |
1767 | { | 1769 | { |
1768 | int i; | 1770 | int i; |