NVMe: Register management handle under nvme class
[linux-2.6-block.git] / include / linux / nvme.h
index 1f062a9e521d4517404982472cf0cd183ae3f1e4..383d495c5e4cb58c9451f53fc8b180e5385fae62 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <uapi/linux/nvme.h>
 #include <linux/pci.h>
-#include <linux/miscdevice.h>
 #include <linux/kref.h>
 #include <linux/blk-mq.h>
 
@@ -89,7 +88,7 @@ struct nvme_dev {
        struct nvme_bar __iomem *bar;
        struct list_head namespaces;
        struct kref kref;
-       struct miscdevice miscdev;
+       struct device *device;
        work_func_t reset_workfn;
        struct work_struct reset_work;
        char name[12];