[2.6 patch] drivers/scsi/wd33c93.c: cleanups

From: Adrian Bunk
Date: Sat Dec 02 2006 - 12:55:19 EST


This patch contains the following cleanups:
- #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@xxxxxxxxx>

---

This patch was already sent on:
- 4 Sep 2006

--- linux-2.6.18-rc5-mm1/drivers/scsi/wd33c93.c.old 2006-09-04 01:45:57.000000000 +0200
+++ linux-2.6.18-rc5-mm1/drivers/scsi/wd33c93.c 2006-09-04 01:46:26.000000000 +0200
@@ -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_used[MAX_SETUP_ARGS];
static int done_setup = 0;

-int
+static int
wd33c93_setup(char *str)
{
int i;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/