summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-09 21:22:18 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-09 21:22:18 +0000
commitb401fa930d4a8d6e1f94a9b6dce8000421ef45d5 (patch)
tree68d2677104728d61346cdc130070c0ed867e91cd
parentca0f3468f4c2b9c9025c6addcdf3cd5b5568dcb0 (diff)
Fix for scsi.c warning. Patch sent to Linus.
-rw-r--r--drivers/scsi/scsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 51a4eabc6..a82cbd4dd 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -136,7 +136,6 @@ const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] =
*/
extern void scsi_times_out(Scsi_Cmnd * SCpnt);
void scsi_build_commandblocks(Scsi_Device * SDpnt);
-static int scsi_unregister_device(struct Scsi_Device_Template *tpnt);
/*
* These are the interface to the old error handling code. It should go away
@@ -2293,6 +2292,8 @@ static void scsi_unregister_host(Scsi_Host_Template * tpnt)
MOD_DEC_USE_COUNT;
}
+static int scsi_unregister_device(struct Scsi_Device_Template *tpnt);
+
/*
* This entry point should be called by a loadable module if it is trying
* add a high level scsi driver to the system.