summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-cd.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 17:20:53 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 17:20:53 +0100
commit7f3c868ba78e486bd9d7569f884dd46d8f59bb18 (patch)
treec52ff0d21b22ae60194a462d565a6caf2518b569 /drivers/ide/ide-cd.h
parent9892ec5497af1ec38c46974b5a370ba11c636b19 (diff)
downloadkernel-common-7f3c868ba78e486bd9d7569f884dd46d8f59bb18.tar.gz
kernel-common-7f3c868ba78e486bd9d7569f884dd46d8f59bb18.tar.bz2
kernel-common-7f3c868ba78e486bd9d7569f884dd46d8f59bb18.zip
ide: remove ide_driver_t typedef
While at it: - s/struct ide_driver_s/struct ide_driver/ - use to_ide_driver() macro in ide-proc.c Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r--drivers/ide/ide-cd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index d5ae036af00c..ac40d6cb90a2 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -77,10 +77,10 @@ struct atapi_toc {
/* Extra per-device info for cdrom drives. */
struct cdrom_info {
- ide_drive_t *drive;
- ide_driver_t *driver;
- struct gendisk *disk;
- struct kref kref;
+ ide_drive_t *drive;
+ struct ide_driver *driver;
+ struct gendisk *disk;
+ struct kref kref;
/* Buffer for table of contents. NULL if we haven't allocated
a TOC buffer for this device yet. */