diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:06 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:06 -0500 |
commit | cd2a2d969761c26542095c01324201ca0b3ee896 (patch) | |
tree | fa95d329ac2f2ae3fca30833b8b0ec91aefbd243 /drivers/ide/ide-taskfile.c | |
parent | 1c029fd658baa2442e8e51dc9c819301cad95777 (diff) |
ide: remove task_ioreg_t typedef (take 2)
Remove task_ioreg_t typedef from the kernel code (but leave it
in <linux/hdreg.h> for #ifndef/#endif __KERNEL__ case).
While at it also move sata_ioreg_t typedef under #ifndef/#endif __KERNEL__.
v2:
Remove name of the second parameter from ide_execute_command() declaration.
(Noticed by Sergei).
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 2b60f1b0437e..91948a46cc6e 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -519,8 +519,8 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
519 | ide_task_t args; | 519 | ide_task_t args; |
520 | u8 *outbuf = NULL; | 520 | u8 *outbuf = NULL; |
521 | u8 *inbuf = NULL; | 521 | u8 *inbuf = NULL; |
522 | task_ioreg_t *argsptr = args.tfRegister; | 522 | u8 *argsptr = args.tfRegister; |
523 | task_ioreg_t *hobsptr = args.hobRegister; | 523 | u8 *hobsptr = args.hobRegister; |
524 | int err = 0; | 524 | int err = 0; |
525 | int tasksize = sizeof(struct ide_task_request_s); | 525 | int tasksize = sizeof(struct ide_task_request_s); |
526 | unsigned int taskin = 0; | 526 | unsigned int taskin = 0; |