aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dax/dax-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/dax-private.h')
-rw-r--r--drivers/dax/dax-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dax/dax-private.h b/drivers/dax/dax-private.h
index c915889d1769..6ccca3b890d6 100644
--- a/drivers/dax/dax-private.h
+++ b/drivers/dax/dax-private.h
@@ -43,6 +43,7 @@ struct dax_region {
43 * @target_node: effective numa node if dev_dax memory range is onlined 43 * @target_node: effective numa node if dev_dax memory range is onlined
44 * @dev - device core 44 * @dev - device core
45 * @pgmap - pgmap for memmap setup / lifetime (driver owned) 45 * @pgmap - pgmap for memmap setup / lifetime (driver owned)
46 * @dax_mem_res: physical address range of hotadded DAX memory
46 */ 47 */
47struct dev_dax { 48struct dev_dax {
48 struct dax_region *region; 49 struct dax_region *region;
@@ -50,6 +51,7 @@ struct dev_dax {
50 int target_node; 51 int target_node;
51 struct device dev; 52 struct device dev;
52 struct dev_pagemap pgmap; 53 struct dev_pagemap pgmap;
54 struct resource *dax_kmem_res;
53}; 55};
54 56
55static inline struct dev_dax *to_dev_dax(struct device *dev) 57static inline struct dev_dax *to_dev_dax(struct device *dev)