libata: move 'struct ata_taskfile' and friends from ata.h to libata.h
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 30 Jun 2013 20:01:32 +0000 (00:01 +0400)
committerTejun Heo <tj@kernel.org>
Tue, 16 Jul 2013 11:46:56 +0000 (05:46 -0600)
commitdc34e7e1a701134c2639dc7af78dc91055616477
treeec38a800ee44f717feaead5906cfb75477f68bf7
parentad81f0545ef01ea651886dddac4bef6cec930092
libata: move 'struct ata_taskfile' and friends from ata.h to libata.h

Move 'struct ata_taskfile', ata_prot_flags() and their friends from
<linux/ata.h> to <linux/libata.h>. They were misplaced from the beginning,  as
<linux/ata.h> should cover ATA/ATAPI and related standards only -- to which the
aforementioned structure and function have only remote relation.

I would have moved 'enum ata_tf_protocols' closely related to 'struct
ata_taskfile' but it unfortunately gets used by 'drivers/ide/ide-ioctls.c'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/ata.h
include/linux/libata.h