Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0272bf7271eb6895b081c3df34c3ebe50cb769b7
Commit:     0272bf7271eb6895b081c3df34c3ebe50cb769b7
Parent:     cc5d2c8c64804564617a7be71c73a075a426d1c6
Author:     James Bottomley <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 20 14:44:04 2007 -0500
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Wed Mar 21 08:15:41 2007 -0600

    [SCSI] fix scsi_wait_scan build problem
    
    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 <[EMAIL PROTECTED]>
---
 drivers/scsi/scsi_scan.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 0949145..a67f315 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to