diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:25 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:25 -0500 |
commit | 17802998d2c8007d06565c39101d218f579c4454 (patch) | |
tree | 7d3c636f124ae4378bea28848a9f7d62af909947 /drivers/ide/ide-cd.h | |
parent | 139c829d9d83cfd6b51682f11a431283121e24b7 (diff) |
ide-cd: move code handling cdrom.c IOCTLs to ide-cd_ioctl.c
There should be no functionality changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index e1b401494a99..5343063e83f6 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h | |||
@@ -148,4 +148,21 @@ struct cdrom_info { | |||
148 | /* ide-cd_verbose.c */ | 148 | /* ide-cd_verbose.c */ |
149 | void ide_cd_log_error(const char *, struct request *, struct request_sense *); | 149 | void ide_cd_log_error(const char *, struct request *, struct request_sense *); |
150 | 150 | ||
151 | /* ide-cd.c functions used by ide-cd_ioctl.c */ | ||
152 | void ide_cd_init_rq(ide_drive_t *, struct request *); | ||
153 | int ide_cd_queue_pc(ide_drive_t *, struct request *); | ||
154 | int ide_cd_lockdoor(ide_drive_t *, int, struct request_sense *); | ||
155 | int ide_cd_read_toc(ide_drive_t *, struct request_sense *); | ||
156 | int ide_cdrom_get_capabilities(ide_drive_t *, u8 *); | ||
157 | void ide_cdrom_update_speed(ide_drive_t *, u8 *); | ||
158 | |||
159 | /* ide-cd_ioctl.c */ | ||
160 | int ide_cdrom_lock_door(struct cdrom_device_info *, int); | ||
161 | int ide_cdrom_select_speed(struct cdrom_device_info *, int); | ||
162 | int ide_cdrom_get_last_session(struct cdrom_device_info *, | ||
163 | struct cdrom_multisession *); | ||
164 | int ide_cdrom_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *); | ||
165 | int ide_cdrom_reset(struct cdrom_device_info *cdi); | ||
166 | int ide_cdrom_audio_ioctl(struct cdrom_device_info *, unsigned int, void *); | ||
167 | |||
151 | #endif /* _IDE_CD_H */ | 168 | #endif /* _IDE_CD_H */ |