|
@@ -76,12 +76,14 @@ typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc,
|
|
|
struct nvdimm *nvdimm, unsigned int cmd, void *buf,
|
|
|
unsigned int buf_len, int *cmd_rc);
|
|
|
|
|
|
+struct device_node;
|
|
|
struct nvdimm_bus_descriptor {
|
|
|
const struct attribute_group **attr_groups;
|
|
|
unsigned long bus_dsm_mask;
|
|
|
unsigned long cmd_mask;
|
|
|
struct module *module;
|
|
|
char *provider_name;
|
|
|
+ struct device_node *of_node;
|
|
|
ndctl_fn ndctl;
|
|
|
int (*flush_probe)(struct nvdimm_bus_descriptor *nd_desc);
|
|
|
int (*clear_to_send)(struct nvdimm_bus_descriptor *nd_desc,
|
|
@@ -123,6 +125,7 @@ struct nd_region_desc {
|
|
|
int num_lanes;
|
|
|
int numa_node;
|
|
|
unsigned long flags;
|
|
|
+ struct device_node *of_node;
|
|
|
};
|
|
|
|
|
|
struct device;
|