summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk_ioctl.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 18:09:09 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 18:09:09 +0200
commitd7e747596829c1c11833ca0a1f5e64f400d20bf2 (patch)
tree3ca99d61a3e05399bea3969a588011e235ca5f7a /drivers/ide/ide-disk_ioctl.c
parent9c3ba7692bc1166c6a5d06fb7c59984f9f988a00 (diff)
downloadop-kernel-dev-d7e747596829c1c11833ca0a1f5e64f400d20bf2.zip
op-kernel-dev-d7e747596829c1c11833ca0a1f5e64f400d20bf2.tar.gz
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_ioctl.c')
-rw-r--r--drivers/ide/ide-disk_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk_ioctl.c b/drivers/ide/ide-disk_ioctl.c
index a6cf1a03..e6624ed 100644
--- a/drivers/ide/ide-disk_ioctl.c
+++ b/drivers/ide/ide-disk_ioctl.c
@@ -17,7 +17,7 @@ int ide_disk_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct block_device *bdev = inode->i_bdev;
- struct ide_disk_obj *idkp = ide_disk_g(bdev->bd_disk);
+ struct ide_disk_obj *idkp = ide_drv_g(bdev->bd_disk, ide_disk_obj);
ide_drive_t *drive = idkp->drive;
int err;
OpenPOWER on IntegriCloud