diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2007-03-20 22:44:04 +0300 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-21 17:15:41 +0300 |
commit | 0272bf7271eb6895b081c3df34c3ebe50cb769b7 (patch) | |
tree | 66276692c23beab60b62fdb6b278256bbc7f5ca0 | |
parent | cc5d2c8c64804564617a7be71c73a075a426d1c6 (diff) | |
download | linux-0272bf7271eb6895b081c3df34c3ebe50cb769b7.tar.xz |
[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 <James.Bottomley@SteelEye.com>
-rw-r--r-- | 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 0949145304ea..a67f315244d7 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 |