]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/blkdev.h
block: move REQ_TYPE_ATA_TASKFILE and REQ_TYPE_ATA_PC to ide.h
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Apr 2015 20:37:17 +0000 (22:37 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 5 May 2015 19:40:05 +0000 (13:40 -0600)
commitb42171ef7d938a66fa52e66a3d911ed63770b5ca
tree71111507d961b572397dd453d8b9435d61eeacb2
parent4f8c9510ba71bb54477841bebb90154ef140860f
block: move REQ_TYPE_ATA_TASKFILE and REQ_TYPE_ATA_PC to ide.h

These values are only used by the IDE driver, so move them into it
by allowing drivers to take cmd_type values after the first private
one.  Note that we have to turn cmd_type into a plain unsigned integer
so that gcc doesn't complain about mismatching enum types.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blkdev.h
include/linux/ide.h