]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/nvme/host/nvme.h
nvme: replace is_flags field in nvme_ctrl_ops with a flags field
[karo-tx-linux.git] / drivers / nvme / host / nvme.h
index 29c708ca9621c4622ab3f32d153c02546e9d0ca6..7c4b0f6636c5dd48918777b8919ade7f0b67e3cf 100644 (file)
@@ -208,7 +208,8 @@ struct nvme_ns {
 struct nvme_ctrl_ops {
        const char *name;
        struct module *module;
-       bool is_fabrics;
+       unsigned int flags;
+#define NVME_F_FABRICS                 (1 << 0)
        int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val);
        int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val);
        int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);