From b401fa930d4a8d6e1f94a9b6dce8000421ef45d5 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 9 Jul 2000 21:22:18 +0000 Subject: Fix for scsi.c warning. Patch sent to Linus. --- drivers/scsi/scsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3