Skip to contentSkip to conversation

ide: add missing #ifdef/#endif CONFIG_IDE_TASK_IOCTL

PATCH In review Bartlomiej Zolnierkiewicz 2 participants 2 messages Nov 4, 2007 – Nov 6, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 3/18 ide: add missing #ifdef/#endif CONFIG_IDE_TASK_IOCTL

---
 drivers/ide/ide-taskfile.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/ide/ide-taskfile.c +2 -0
Index: b/drivers/ide/ide-taskfile.c
===================================================================
@@ -568,6 +568,7 @@ int ide_no_data_taskfile(ide_drive_t *dr
 
 EXPORT_SYMBOL_GPL(ide_no_data_taskfile);
 
+#ifdef CONFIG_IDE_TASK_IOCTL
 int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg)
 {
 	ide_task_request_t	*req_task;
@@ -771,6 +772,7 @@ abort:
 
 	return err;
 }
+#endif
 
 int ide_wait_cmd (ide_drive_t *drive, u8 cmd, u8 nsect, u8 feature, u8 sectors, u8 *buf)
 {