summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r--drivers/scsi/sd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 919fb7f0f..eb68d383b 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1047,7 +1047,7 @@ static int sd_init_onedisk(int i)
spintime = 0;
/* Spin up drives, as required. Only do this at boot time */
- if (!MODULE_FLAG){
+ /* Spinup needs to be done for module loads too. */
do{
retries = 0;
while(retries < 3)
@@ -1120,7 +1120,6 @@ static int sd_init_onedisk(int i)
else
printk( "ready\n" );
}
- } /* !MODULE_FLAG */
retries = 3;
do {