diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:09 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:09 -0400 |
commit | d7e747596829c1c11833ca0a1f5e64f400d20bf2 (patch) | |
tree | 3ca99d61a3e05399bea3969a588011e235ca5f7a /drivers/ide/ide-disk.h | |
parent | 9c3ba7692bc1166c6a5d06fb7c59984f9f988a00 (diff) |
ide-disk: use to_ide_drv() and ide_drv_g()
There should be no functional changes caused by this patch.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.h')
-rw-r--r-- | drivers/ide/ide-disk.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ide-disk.h b/drivers/ide/ide-disk.h index a82fa4355665..50d674b91c8b 100644 --- a/drivers/ide/ide-disk.h +++ b/drivers/ide/ide-disk.h | |||
@@ -9,9 +9,6 @@ struct ide_disk_obj { | |||
9 | unsigned int openers; /* protected by BKL for now */ | 9 | unsigned int openers; /* protected by BKL for now */ |
10 | }; | 10 | }; |
11 | 11 | ||
12 | #define ide_disk_g(disk) \ | ||
13 | container_of((disk)->private_data, struct ide_disk_obj, driver) | ||
14 | |||
15 | /* ide-disk.c */ | 12 | /* ide-disk.c */ |
16 | sector_t ide_disk_capacity(ide_drive_t *); | 13 | sector_t ide_disk_capacity(ide_drive_t *); |
17 | ide_decl_devset(address); | 14 | ide_decl_devset(address); |