ide: remove task_ioreg_t typedef (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:06 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:06 +0000 (22:17 +0100)
commitcd2a2d969761c26542095c01324201ca0b3ee896
treefa95d329ac2f2ae3fca30833b8b0ec91aefbd243
parent1c029fd658baa2442e8e51dc9c819301cad95777
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>
drivers/ide/ide-disk.c
drivers/ide/ide-iops.c
drivers/ide/ide-taskfile.c
include/linux/hdreg.h
include/linux/ide.h