diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-03-10 19:55:36 +0100 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-03-10 19:55:36 +0100 |
| commit | d1c1bba5adc3cbdf3917322149d059b1baea9dcc (patch) | |
| tree | 4650c948ff9dd9ff4c333f914b99925970f148f4 /include/linux | |
| parent | 1ef372a68f166517047af569aa11493a0a12dc24 (diff) | |
[ide] generic Power Management for IDE devices
Move PM code from ide-cd.c and ide-disk.c to IDE core so:
* PM is supported for other ATAPI devices (floppy, tape)
* PM is supported even if specific driver is not loaded
Also s/HWIF(drive)/drive->hwif/ while at it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 9c25adc6c28d..25683ad25806 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1104,8 +1104,6 @@ typedef struct ide_driver_s { int (*attach)(ide_drive_t *); void (*ata_prebuilder)(ide_drive_t *); void (*atapi_prebuilder)(ide_drive_t *); - ide_startstop_t (*start_power_step)(ide_drive_t *, struct request *); - void (*complete_power_step)(ide_drive_t *, struct request *, u8, u8); struct device_driver gen_driver; struct list_head drives; struct list_head drivers; |
