linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] drivers/scsi/wd33c93.c: cleanups
@ 2006-12-02 17:54 Adrian Bunk
  0 siblings, 0 replies; 9+ messages in thread
From: Adrian Bunk @ 2006-12-02 17:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-scsi, linux-kernel

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@stusta.de>

---

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;



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [2.6 patch] drivers/scsi/wd33c93.c: cleanups
@ 2006-08-21 10:43 Adrian Bunk
  2006-08-21 10:53 ` Christoph Hellwig
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Bunk @ 2006-08-21 10:43 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, linux-kernel

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@stusta.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;

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-12-02 17:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-02 17:54 [2.6 patch] drivers/scsi/wd33c93.c: cleanups Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-08-21 10:43 Adrian Bunk
2006-08-21 10:53 ` Christoph Hellwig
2006-08-21 19:22   ` Adrian Bunk
2006-08-21 19:24     ` Matthew Wilcox
2006-08-21 19:25     ` Russell King
2006-08-21 20:41       ` Adrian Bunk
2006-08-21 19:31     ` David Miller
2006-09-04 11:41       ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).