LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make seagate_st0x_detect() static
@ 2007-01-21 19:12 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-01-21 19:12 UTC (permalink / raw)
To: Andrew Morton; +Cc: James.Bottomley, linux-scsi, linux-kernel
seagate_st0x_detect() can become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 6 Jan 2007
--- linux-2.6.20-rc3-mm1/drivers/scsi/seagate.c.old 2007-01-05 22:53:13.000000000 +0100
+++ linux-2.6.20-rc3-mm1/drivers/scsi/seagate.c 2007-01-05 22:57:54.000000000 +0100
@@ -420,7 +420,7 @@
#define ULOOP( i ) for (clock = i*8;;)
#define TIMEOUT (!(clock--))
-int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
+static int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
{
struct Scsi_Host *instance;
int i, j;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] make seagate_st0x_detect() static
@ 2007-01-06 1:06 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-01-06 1:06 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi, linux-kernel
seagate_st0x_detect() can become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.20-rc3-mm1/drivers/scsi/seagate.c.old 2007-01-05 22:53:13.000000000 +0100
+++ linux-2.6.20-rc3-mm1/drivers/scsi/seagate.c 2007-01-05 22:57:54.000000000 +0100
@@ -420,7 +420,7 @@
#define ULOOP( i ) for (clock = i*8;;)
#define TIMEOUT (!(clock--))
-int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
+static int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
{
struct Scsi_Host *instance;
int i, j;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-21 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-21 19:12 [2.6 patch] make seagate_st0x_detect() static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-01-06 1:06 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).