diff options
author | Jens Axboe <axboe@fb.com> | 2017-01-29 20:04:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-29 20:04:49 -0700 |
commit | f605208e01f5b8ee7b44f3624ec8807cfe85ea7e (patch) | |
tree | 1375bb7e01ed12c37711539fef2ca36cd962f825 /drivers/nvme | |
parent | fb045ca25cc7b6d46368ab8221774489c2a81648 (diff) | |
download | linux-f605208e01f5b8ee7b44f3624ec8807cfe85ea7e.tar.bz2 |
nvme: fix compilation of scsi component
Since we moved the cdb parts and define out of the block proper,
we need to include scsi/scsi_request.h for the nvme scsi layer.
Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/scsi.c b/drivers/nvme/host/scsi.c index a5c09e703bd8..0f0fcea9a2c1 100644 --- a/drivers/nvme/host/scsi.c +++ b/drivers/nvme/host/scsi.c @@ -43,6 +43,7 @@ #include <asm/unaligned.h> #include <scsi/sg.h> #include <scsi/scsi.h> +#include <scsi/scsi_request.h> #include "nvme.h" |