summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/nfit.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-02-19 12:29:32 -0800
committerDan Williams <dan.j.williams@intel.com>2016-03-05 12:24:06 -0800
commita61fe6f7902ecaa89d5e6c709490fc4324927134 (patch)
tree6fb3643c2069e7e2832f12eeaaabb1b20a434428 /drivers/acpi/nfit.h
parent719994660c249a086a7493205c7f1562e30c38cb (diff)
downloadop-kernel-dev-a61fe6f7902ecaa89d5e6c709490fc4324927134.zip
op-kernel-dev-a61fe6f7902ecaa89d5e6c709490fc4324927134.tar.gz
nfit, tools/testing/nvdimm: unify common init for acpi_nfit_desc
The nvdimm unit test infrastructure performs its own initialization of an acpi_nfit_desc to specify test overrides over the native implementation. Make it clear which attributes and operations it is overriding by re-using acpi_nfit_init_desc() as a common starting point. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi/nfit.h')
-rw-r--r--drivers/acpi/nfit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/nfit.h b/drivers/acpi/nfit.h
index f45b7d9..524dec0 100644
--- a/drivers/acpi/nfit.h
+++ b/drivers/acpi/nfit.h
@@ -195,5 +195,5 @@ static inline struct acpi_nfit_desc *to_acpi_desc(
const u8 *to_nfit_uuid(enum nfit_uuids id);
int acpi_nfit_init(struct acpi_nfit_desc *nfit, acpi_size sz);
-extern const struct attribute_group *acpi_nfit_attribute_groups[];
+void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev);
#endif /* __NFIT_H__ */
OpenPOWER on IntegriCloud