diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-17 17:12:21 (GMT) |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-17 17:12:21 (GMT) |
commit | ca1b96e00ab5d1b0838965834469a0284c81a517 (patch) | |
tree | 694727e3e50eb651640f87aac51aed8fecc0a2c0 /drivers/ide/siimage.c | |
parent | 582078ee3d7dacd74a7b3fe02ea258cadf32b602 (diff) | |
download | linux-ca1b96e00ab5d1b0838965834469a0284c81a517.tar.xz |
ide: replace special_t typedef by IDE_SFLAG_* flags
Replace:
- special_t typedef by IDE_SFLAG_* flags
- 'special_t special' ide_drive_t's field by 'u8 special_flags' one
There should be no functional changes caused by this patch.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/siimage.c')
-rw-r--r-- | drivers/ide/siimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/siimage.c b/drivers/ide/siimage.c index e4973cd..bd82d22 100644 --- a/drivers/ide/siimage.c +++ b/drivers/ide/siimage.c @@ -451,8 +451,8 @@ static int sil_sata_reset_poll(ide_drive_t *drive) static void sil_sata_pre_reset(ide_drive_t *drive) { if (drive->media == ide_disk) { - drive->special.b.set_geometry = 0; - drive->special.b.recalibrate = 0; + drive->special_flags &= + ~(IDE_SFLAG_SET_GEOMETRY | IDE_SFLAG_RECALIBRATE); } } |