summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-10-08 20:29:48 -0700
committerPatrick Mochel <mochel@osdl.org>2002-10-08 20:29:48 -0700
commitca0e5f35dcf8e3d84b0784e98a7a5f9334b0f997 (patch)
tree6b1e946c24274432cdad0e45cc07e7cffd88bc4f /include/linux
parent716041ccaffefe3721d798e2f7143ef104bb03f4 (diff)
IDE: add struct device to ide_drive_t and use that for IDE drives
... instead of the one in struct gendisk.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 0655a585300f..419b0c92f6f5 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -794,6 +794,7 @@ typedef struct ide_drive_s {
int lun; /* logical unit */
int crc_count; /* crc counter to reduce drive speed */
struct list_head list;
+ struct device gendev;
struct gendisk *disk;
} ide_drive_t;