Skip to content

Commit

Permalink
[SCSI] wd33c93: cleanups
Browse files Browse the repository at this point in the history
- #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>
  • Loading branch information
Adrian Bunk authored and James Bottomley committed Jul 18, 2007
1 parent 44818ef commit 078dda9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/scsi/wd33c93.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 078dda9

Please sign in to comment.