Commit 078dda95 authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 44818efb
...@@ -89,6 +89,8 @@ ...@@ -89,6 +89,8 @@
#include <scsi/scsi_device.h> #include <scsi/scsi_device.h>
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#include <asm/irq.h>
#include "wd33c93.h" #include "wd33c93.h"
#define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
...@@ -1762,7 +1764,7 @@ static char setup_buffer[SETUP_BUFFER_SIZE]; ...@@ -1762,7 +1764,7 @@ static char setup_buffer[SETUP_BUFFER_SIZE];
static char setup_used[MAX_SETUP_ARGS]; static char setup_used[MAX_SETUP_ARGS];
static int done_setup = 0; static int done_setup = 0;
int static int
wd33c93_setup(char *str) wd33c93_setup(char *str)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment