summaryrefslogtreecommitdiff
path: root/drivers/dax/device-dax.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-07-14 23:54:50 +0300
committerDan Williams <dan.j.williams@intel.com>2019-01-07 08:24:46 +0300
commit753a0850e707e9a8c5861356222f9b9e4eba7945 (patch)
tree8c7e75e158b5debb5d31cdfce8e86d173e55084a /drivers/dax/device-dax.h
parent93694f9630b0ed29cda61df58e480dcb34ef52fd (diff)
downloadlinux-753a0850e707e9a8c5861356222f9b9e4eba7945.tar.xz
device-dax: Remove multi-resource infrastructure
The multi-resource implementation anticipated discontiguous sub-division support. That has not yet materialized, delete the infrastructure and related code. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/device-dax.h')
-rw-r--r--drivers/dax/device-dax.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dax/device-dax.h b/drivers/dax/device-dax.h
index 4f1c69e1b3a2..e9be99584b92 100644
--- a/drivers/dax/device-dax.h
+++ b/drivers/dax/device-dax.h
@@ -19,6 +19,5 @@ struct dax_region;
void dax_region_put(struct dax_region *dax_region);
struct dax_region *alloc_dax_region(struct device *parent, int region_id,
struct resource *res, unsigned int align, unsigned long flags);
-struct dev_dax *devm_create_dev_dax(struct dax_region *dax_region,
- int id, struct resource *res, int count);
+struct dev_dax *devm_create_dev_dax(struct dax_region *dax_region, int id);
#endif /* __DEVICE_DAX_H__ */