summaryrefslogtreecommitdiff
path: root/drivers/block/nvme-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-10-03 15:46:41 +0200
committerJens Axboe <axboe@fb.com>2015-10-09 10:40:37 -0600
commitf11bb3e244c4b14e2d0a3b9d7e41895752997170 (patch)
treeae9c92c0749b4c399134da4d9fa436e9738e53e3 /drivers/block/nvme-core.c
parent2659e57b906562bb020fb093b0c1b670b9700314 (diff)
downloadlwn-f11bb3e244c4b14e2d0a3b9d7e41895752997170.tar.gz
lwn-f11bb3e244c4b14e2d0a3b9d7e41895752997170.zip
nvme: add a local nvme.h header
Add a new drivers/block/nvme.h which contains all the driver internal interface. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/nvme-core.c')
-rw-r--r--drivers/block/nvme-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index 01a6d1b2d7e5..a20f66a44b96 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -12,7 +12,6 @@
* more details.
*/
-#include <linux/nvme.h>
#include <linux/bitops.h>
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
@@ -43,6 +42,8 @@
#include <scsi/sg.h>
#include <asm-generic/io-64-nonatomic-lo-hi.h>
+#include "nvme.h"
+
#define NVME_MINORS (1U << MINORBITS)
#define NVME_Q_DEPTH 1024
#define NVME_AQ_DEPTH 256