summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd33c93.c
diff options
context:
space:
mode:
authorAdrian Bunk2007-07-09 21:00:01 +0200
committerJames Bottomley2007-07-18 18:16:38 +0200
commit078dda95c521b1c78d1b5da69ac90d581abc9951 (patch)
treeefba89dda46603996d998c4123982fd5f3568841 /drivers/scsi/wd33c93.c
parent[SCSI] small cleanups (diff)
downloadkernel-qcow2-linux-078dda95c521b1c78d1b5da69ac90d581abc9951.tar.gz
kernel-qcow2-linux-078dda95c521b1c78d1b5da69ac90d581abc9951.tar.xz
kernel-qcow2-linux-078dda95c521b1c78d1b5da69ac90d581abc9951.zip
[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>
Diffstat (limited to 'drivers/scsi/wd33c93.c')
-rw-r--r--drivers/scsi/wd33c93.c4
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 @@
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
+#include <asm/irq.h>
+
#include "wd33c93.h"
#define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
@@ -1762,7 +1764,7 @@ static char setup_buffer[SETUP_BUFFER_SIZE];
static char setup_used[MAX_SETUP_ARGS];
static int done_setup = 0;
-int
+static int
wd33c93_setup(char *str)
{
int i;