summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd33c93.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-09 12:00:01 -0700
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-18 11:16:38 -0500
commit078dda95c521b1c78d1b5da69ac90d581abc9951 (patch)
treeefba89dda46603996d998c4123982fd5f3568841 /drivers/scsi/wd33c93.c
parent44818efbad185eea75adad0e8cab97650a7370ab (diff)
downloadop-kernel-dev-078dda95c521b1c78d1b5da69ac90d581abc9951.zip
op-kernel-dev-078dda95c521b1c78d1b5da69ac90d581abc9951.tar.gz
[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 fa4e08e..b92ff04 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;
OpenPOWER on IntegriCloud