diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:13 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:13 -0400 |
commit | 9a6eb74d07f9152dd0e0ea551e878e869b8d2fc1 (patch) | |
tree | 7417f5d5005d09d88ad6e4cd9557f8c9f2bbe4ca /drivers/ide/ide-floppy.h | |
parent | c84d9bbe7c77aea7e1194da056d44a2ed982e72b (diff) |
ide: prepare for merging ide-gd-floppy.c with ide-gd.c
- idefloppy_ref_mutex -> ide_disk_ref_mutex
- idefloppy_cleanup_obj() -> ide_disk_release()
- ide_floppy_get() -> ide_disk_get()
- ide_floppy_put() -> ide_disk_put()
- ide_floppy_capacity() -> ide_gd_capacity()
- ide_floppy_remove() -> ide_gd_remove()
- ide_floppy_probe() -> ide_gd_probe()
- idefloppy_driver -> ide_gd_driver
- idefloppy_open() -> ide_gd_open()
- idefloppy_release() -> ide_gd_release()
- idefloppy_getgeo() -> ide_gd_getgeo()
- idefloppy_media_changed() -> ide_gd_media_changed()
- idefloppy_revalidate_disk() -> ide_gd_revalidate_disk()
- idefloppy_ops -> ide_gd_ops
- idefloppy_init() -> ide_gd_init()
- idefloppy_exit() -> ide_gd_exit()
- 'floppy' -> 'idkp' in ide_disk_*() and ide_gd_*()
- idefloppy_floppy_t -> struct ide_floppy_obj
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-floppy.h')
-rw-r--r-- | drivers/ide/ide-floppy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.h b/drivers/ide/ide-floppy.h index 836a70e6e3ef..b965da2f41ce 100644 --- a/drivers/ide/ide-floppy.h +++ b/drivers/ide/ide-floppy.h | |||
@@ -57,7 +57,7 @@ typedef struct ide_floppy_obj { | |||
57 | #define IDEFLOPPY_IOCTL_FORMAT_START 0x4602 | 57 | #define IDEFLOPPY_IOCTL_FORMAT_START 0x4602 |
58 | #define IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS 0x4603 | 58 | #define IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS 0x4603 |
59 | 59 | ||
60 | sector_t ide_floppy_capacity(ide_drive_t *); | 60 | sector_t ide_gd_capacity(ide_drive_t *); |
61 | 61 | ||
62 | /* ide-floppy.c */ | 62 | /* ide-floppy.c */ |
63 | void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8); | 63 | void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8); |