summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 7ae7ecfc0947..9b6fba872f47 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -507,6 +507,8 @@ struct nvme_admin_cmd {
#ifdef __KERNEL__
#include <linux/pci.h>
+#include <linux/miscdevice.h>
+#include <linux/kref.h>
#define NVME_IO_TIMEOUT (5 * HZ)
@@ -527,6 +529,9 @@ struct nvme_dev {
struct msix_entry *entry;
struct nvme_bar __iomem *bar;
struct list_head namespaces;
+ struct kref kref;
+ struct miscdevice miscdev;
+ char name[12];
char serial[20];
char model[40];
char firmware_rev[8];