aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/gdth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index e8010a702e73..3ac080ee6e2f 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -5213,6 +5213,10 @@ static int __init gdth_init(void)
5213#endif /* CONFIG_PCI */ 5213#endif /* CONFIG_PCI */
5214 5214
5215 TRACE2(("gdth_detect() %d controller detected\n", gdth_ctr_count)); 5215 TRACE2(("gdth_detect() %d controller detected\n", gdth_ctr_count));
5216
5217 if (list_empty(&gdth_instances))
5218 return -ENODEV;
5219
5216#ifdef GDTH_STATISTICS 5220#ifdef GDTH_STATISTICS
5217 TRACE2(("gdth_detect(): Initializing timer !\n")); 5221 TRACE2(("gdth_detect(): Initializing timer !\n"));
5218 init_timer(&gdth_timer); 5222 init_timer(&gdth_timer);