diff options
author | Laurent Riffard | 2005-11-18 22:15:40 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz | 2005-11-18 22:15:40 +0100 |
commit | 4ef3b8f4a5c056d5f784725974a530d1a7b4a811 (patch) | |
tree | f5cb477ef8b89af4fba8592fdcefde733947e1ef /drivers/ide/ide-disk.c | |
parent | [PATCH] via82cxxx IDE: support multiple controllers (diff) | |
download | kernel-qcow2-linux-4ef3b8f4a5c056d5f784725974a530d1a7b4a811.tar.gz kernel-qcow2-linux-4ef3b8f4a5c056d5f784725974a530d1a7b4a811.tar.xz kernel-qcow2-linux-4ef3b8f4a5c056d5f784725974a530d1a7b4a811.zip |
[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 'drivers/ide/ide-disk.c')
-rw-r--r-- | drivers/ide/ide-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index e827b39e4b3c..1a45f75dc9b2 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c @@ -1089,8 +1089,8 @@ static void ide_device_shutdown(struct device *dev) } static ide_driver_t idedisk_driver = { - .owner = THIS_MODULE, .gen_driver = { + .owner = THIS_MODULE, .name = "ide-disk", .bus = &ide_bus_type, .probe = ide_disk_probe, |