scsi: sd_zbc: Move ZBC declarations to scsi_proto.h
authorDamien Le Moal <damien.lemoal@wdc.com>
Tue, 10 Oct 2017 20:54:21 +0000 (05:54 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 03:54:32 +0000 (23:54 -0400)
commitaa8a84566282ac47bd861c3cc2538e1014228345
tree536dd7e24cae8f8cc777493f63bf39c5cfe169ea
parent05231a3bb7981b01f6933c0a847fcaac25622bfd
scsi: sd_zbc: Move ZBC declarations to scsi_proto.h

Move standard macro definitions for the zone types and zone conditions
to scsi_proto.h together with the definitions related to the REPORT
ZONES command. While at it, define all values in the enums to be clear.

Also remove unnecessary includes in sd_zbc.c.

No functional change is introduced by this patch.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd_zbc.c
include/scsi/scsi_proto.h