Skip to contentSkip to conversation

drivers/scsi/wd33c93.c: cleanups

PATCH In review [email protected] 1 participant 1 message Mar 6, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 15/29 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 file 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
@@ -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_SI
 static char setup_used[MAX_SETUP_ARGS];
 static int done_setup = 0;
 
-int
+static int
 wd33c93_setup(char *str)
 {
 	int i;

_