summaryrefslogtreecommitdiff
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-11-19 00:15:40 +0300
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2005-11-19 00:15:40 +0300
commit4ef3b8f4a5c056d5f784725974a530d1a7b4a811 (patch)
treef5cb477ef8b89af4fba8592fdcefde733947e1ef /include/linux/ide.h
parent7462cbff7d4c2dc0d182613fb4e801efb29b90ac (diff)
downloadlinux-4ef3b8f4a5c056d5f784725974a530d1a7b4a811.tar.xz
[PATCH] ide: remove ide_driver_t.owner field
The structure ide_driver_t have a .owner field which is a duplicate of .gendriver.owner field (.gen_driver is a struct device_driver). This patch removes ide_driver_t's owner field. Signed-off-by: Laurent Riffard <laurent.riffard@free.fr> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index ac8b25fa6506..e99019057ba6 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1089,9 +1089,11 @@ enum {
/*
* Subdrivers support.
+ *
+ * The gendriver.owner field should be set to the module owner of this driver.
+ * The gendriver.name field should be set to the name of this driver
*/
typedef struct ide_driver_s {
- struct module *owner;
const char *version;
u8 media;
unsigned supports_dsc_overlap : 1;