diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-07-19 15:57:44 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-01-06 21:24:46 -0800 |
commit | 93694f9630b0ed29cda61df58e480dcb34ef52fd (patch) | |
tree | 7f7fff99c1017d664559d771c8bdd28503881a53 /drivers/dax/device-dax.h | |
parent | 21b9e979501fdb5f6797193d70428a2b00bd5247 (diff) | |
download | linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.gz linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.bz2 linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.zip |
device-dax: Kill dax_region base
Nothing consumes this attribute of a region and devres otherwise
remembers the value for de-allocation purposes.
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.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dax/device-dax.h b/drivers/dax/device-dax.h index 688b051750bd..4f1c69e1b3a2 100644 --- a/drivers/dax/device-dax.h +++ b/drivers/dax/device-dax.h @@ -17,9 +17,8 @@ struct dev_dax; struct resource; 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, - void *addr, unsigned long flags); +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); #endif /* __DEVICE_DAX_H__ */ |