diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-05-23 17:41:40 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-30 09:39:52 -0400 |
commit | 7a960b76ed1878a208e8bc68fe436b40aaff3ab5 (patch) | |
tree | a1648a123fec41b8869258014f46479b664c5914 /drivers/scsi/gdth.c | |
parent | 6c4b7e4fdf702136891f802bdf7ad52076594721 (diff) |
[SCSI] gdth: Fix obvious typo "spin_lock_irqrestore()"
Fix misspelled "spin_lock_irqrestore" to read "spin_unlock_irqrestore"
instead.
Presumably, GDTH_RTC doesn't get used a lot.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Achim Leubner <achim_leubner@adaptec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index a4a82598081..d0b95ce0ba0 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -1955,7 +1955,7 @@ static int __init gdth_search_drives(int hanum) | |||
1955 | for (j = 0; j < 12; ++j) | 1955 | for (j = 0; j < 12; ++j) |
1956 | rtc[j] = CMOS_READ(j); | 1956 | rtc[j] = CMOS_READ(j); |
1957 | } while (rtc[0] != CMOS_READ(0)); | 1957 | } while (rtc[0] != CMOS_READ(0)); |
1958 | spin_lock_irqrestore(&rtc_lock, flags); | 1958 | spin_unlock_irqrestore(&rtc_lock, flags); |
1959 | TRACE2(("gdth_search_drives(): RTC: %x/%x/%x\n",*(ulong32 *)&rtc[0], | 1959 | TRACE2(("gdth_search_drives(): RTC: %x/%x/%x\n",*(ulong32 *)&rtc[0], |
1960 | *(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8])); | 1960 | *(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8])); |
1961 | /* 3. send to controller firmware */ | 1961 | /* 3. send to controller firmware */ |