[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060821104357.GH11651@stusta.de>
Date: Mon, 21 Aug 2006 12:43:57 +0200
From: Adrian Bunk <bunk@...sta.de>
To: James.Bottomley@...elEye.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] drivers/scsi/wd33c93.c: cleanups
This patch contains the following cleanups:
- #include <linux/irq.h> for getting the prototypes of
{dis,en}able_irq()
- make the needlessly global wd33c93_setup() static
Signed-off-by: Adrian Bunk <bunk@...sta.de>
--- linux-2.6.18-rc4-mm2/drivers/scsi/wd33c93.c.old 2006-08-21 03:16:42.000000000 +0200
+++ linux-2.6.18-rc4-mm2/drivers/scsi/wd33c93.c 2006-08-21 03:17:10.000000000 +0200
@@ -79,6 +79,7 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/blkdev.h>
+#include <linux/irq.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
@@ -1710,7 +1711,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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists