Skip to contentSkip to conversation

drivers/scsi/wd33c93.c: cleanups

PATCH New [email protected] 1 participant 1 message Dec 19, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 25/26 drivers/scsi/wd33c93.c: cleanups

From: Adrian Bunk <[email protected]>

- #include <asm/irq.h> for getting the prototypes of {dis,en}able_irq()

- make the needlessly global wd33c93_setup() static

---

 drivers/scsi/wd33c93.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)
drivers/scsi/wd33c93.c renamed from drivers/scsi/wd33c93.c~drivers-scsi-wd33c93c-cleanups +3 -1
diff -puN drivers/scsi/wd33c93.c~drivers-scsi-wd33c93c-cleanups drivers/scsi/wd33c93.c
@@ -85,6 +85,8 @@
 #include <scsi/scsi_device.h>
 #include <scsi/scsi_host.h>
 
+#include <asm/irq.h>
+
 #include "wd33c93.h"
 
 
@@ -1710,7 +1712,7 @@ static char setup_buffer[SETUP_BUFFER_SI
 static char setup_used[MAX_SETUP_ARGS];
 static int done_setup = 0;
 
-int
+static int
 wd33c93_setup(char *str)
 {
 	int i;

_