]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] fix scsi_wait_scan build problem
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 20 Mar 2007 19:44:04 +0000 (14:44 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 21 Mar 2007 14:15:41 +0000 (08:15 -0600)
The #ifdef MODULE around the export of scsi_complete_async_scans()
which is the API the scsi_wait_scan module uses is incorrect and
causes the symbol to be undefined in certain circumstances leading to
a build failure.  Remove the defines.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c

index 0949145304eaaeba8f17554feaaf87e55453acb7..a67f315244d7c17de1d3acd2697c2b78463e07ea 100644 (file)
@@ -181,10 +181,8 @@ int scsi_complete_async_scans(void)
        return 0;
 }
 
-#ifdef MODULE
 /* Only exported for the benefit of scsi_wait_scan */
 EXPORT_SYMBOL_GPL(scsi_complete_async_scans);
-#endif
 
 /**
  * scsi_unlock_floptical - unlock device via a special MODE SENSE command