diff options
author | Dave Jiang <dave.jiang@intel.com> | 2018-12-04 21:31:20 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-12-14 04:54:12 +0300 |
commit | d6548ae4d16dc231dec22860c9c472bcb991fb15 (patch) | |
tree | 429441594a2e3f96b62417a7361efc11f9bdb9fd /drivers/atm | |
parent | b3ed2ce024c36054e51cca2eb31a1cdbe4a5f11e (diff) | |
download | linux-d6548ae4d16dc231dec22860c9c472bcb991fb15.tar.xz |
acpi/nfit, libnvdimm: Store dimm id as a member to struct nvdimm
The generated dimm id is needed for the sysfs attribute as well as being
used as the identifier/description for the security key. Since it's
constant and should never change, store it as a member of struct nvdimm.
As nvdimm_create() continues to grow parameters relative to NFIT driver
requirements, do not require other implementations to keep pace.
Introduce __nvdimm_create() to carry the new parameters and keep
nvdimm_create() with the long standing default api.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions