SCSI ips.c: make some code static (fwd)
Subsystems (3)
PATCH 1/1 SCSI ips.c: make some code static (fwd)
The patch forwarded below still applies and compiles against 2.6.10-rc3-mm1.
Please apply.
----- Forwarded message from Adrian Bunk <[email protected]> -----
Date: Mon, 15 Nov 2004 03:11:56 +0100
From: Adrian Bunk <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
[email protected]
Subject: [2.6 patch] SCSI ips.c: make some code static
The patch below makes some needlessly global code static.
diffstat output:
drivers/scsi/ips.c | 244 ++++++++++++++++++++++----------------------- drivers/scsi/ips.h | 12 -- 2 files changed, 123 insertions(+), 133 deletions(-)
drivers/scsi/ips.h renamed from drivers/scsi/ips.h.old +2 -10
@@ -53,14 +53,6 @@#include <asm/uaccess.h> #include <asm/io.h> -/* Prototypes */ -extern int ips_detect (Scsi_Host_Template *); -extern int ips_release (struct Scsi_Host *); -extern int ips_eh_abort (Scsi_Cmnd *); -extern int ips_eh_reset (Scsi_Cmnd *); -extern int ips_queue (Scsi_Cmnd *,void (*) (Scsi_Cmnd *)); -extern const char *ips_info (struct Scsi_Host *); -/* * Some handy macros */
@@ -457,10 +449,10 @@static void ips_select_queue_depth (struct Scsi_Host *,Scsi_Device *);static int ips_biosparam (Disk *disk,kdev_t dev,int geom[]);#else -int ips_proc_info (struct Scsi_Host *,char *,char **,off_t ,int ,int ); +static int ips_proc_info (struct Scsi_Host *,char *,char **,off_t ,int ,int );static int ips_biosparam (struct scsi_device *sdev,struct block_device *bdev,sector_t capacity,int geom[]); -int ips_slave_configure (Scsi_Device *SDptr); +static int ips_slave_configure (Scsi_Device *SDptr);#endif /*
drivers/scsi/ips.c renamed from drivers/scsi/ips.c.old +121 -123
316 lines not on this page · raw message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
----- End forwarded message -----