diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-05 15:42:27 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-05 15:42:27 -0500 |
commit | 26a5b04075f6f2ccf30b22e7f0fc9127c500a698 (patch) | |
tree | 122712ad7f27aac15288ba1fa2948f389e2f2756 /drivers/ide | |
parent | d34887da6be91eaac1db168fa48d91eaa4504795 (diff) |
ide: add missing #ifdef/#endif CONFIG_IDE_TASK_IOCTL
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index eba9635f101a..2b60f1b0437e 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -512,6 +512,7 @@ int ide_raw_taskfile (ide_drive_t *drive, ide_task_t *args, u8 *buf) | |||
512 | 512 | ||
513 | EXPORT_SYMBOL(ide_raw_taskfile); | 513 | EXPORT_SYMBOL(ide_raw_taskfile); |
514 | 514 | ||
515 | #ifdef CONFIG_IDE_TASK_IOCTL | ||
515 | int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | 516 | int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) |
516 | { | 517 | { |
517 | ide_task_request_t *req_task; | 518 | ide_task_request_t *req_task; |
@@ -661,6 +662,7 @@ abort: | |||
661 | 662 | ||
662 | return err; | 663 | return err; |
663 | } | 664 | } |
665 | #endif | ||
664 | 666 | ||
665 | int ide_wait_cmd (ide_drive_t *drive, u8 cmd, u8 nsect, u8 feature, u8 sectors, u8 *buf) | 667 | int ide_wait_cmd (ide_drive_t *drive, u8 cmd, u8 nsect, u8 feature, u8 sectors, u8 *buf) |
666 | { | 668 | { |