diff mbox

[v8,08/10] nvdimm: command ioctl support

Message ID ab6f389579b1cac1be56983488a62086d7fc31bb.1458583367.git.jerry.hoemann@hpe.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jerry Hoemann March 21, 2016, 7:37 p.m. UTC
Flags to indicate if object supports the full set of ND_IOCTL
commands (lack indicates just the pass thru.)

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
---
 drivers/acpi/nfit.h      | 1 +
 drivers/nvdimm/nd-core.h | 1 +
 2 files changed, 2 insertions(+)
diff mbox

Patch

diff --git a/drivers/acpi/nfit.h b/drivers/acpi/nfit.h
index 10dd0d3..bf353fa 100644
--- a/drivers/acpi/nfit.h
+++ b/drivers/acpi/nfit.h
@@ -115,6 +115,7 @@  struct nfit_mem {
 	struct acpi_device *adev;
 	unsigned long dsm_mask;
 	const u8 *dsm_uuid;
+	int    cmd_ioctl;
 };
 
 struct acpi_nfit_desc {
diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h
index 1d1500f..0933f66 100644
--- a/drivers/nvdimm/nd-core.h
+++ b/drivers/nvdimm/nd-core.h
@@ -38,6 +38,7 @@  struct nvdimm {
 	unsigned long flags;
 	void *provider_data;
 	unsigned long *dsm_mask;
+	int cmd_ioctl;
 	struct device dev;
 	atomic_t busy;
 	int id;