提交 078dda95 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册