diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-31 00:43:10 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-13 00:59:13 -0400 |
commit | 5f0694b300b9fb8409272c550418c22e0e57314a (patch) | |
tree | cb8a183ae4b5e33e118266dee729cb99d07ac8ab /drivers/dax/dax.h | |
parent | 762026203c0b87b1088342b664e67ca7c45fb7c4 (diff) |
device-dax: rename 'dax_dev' to 'dev_dax'
In preparation for introducing a struct dax_device type to the kernel
global type namespace, rename dax_dev to dev_dax. A 'dax_device'
instance will be a generic device-driver object for any provider of dax
functionality. A 'dev_dax' object is a device-dax-driver local /
internal instance.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/dax.h')
-rw-r--r-- | drivers/dax/dax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dax/dax.h b/drivers/dax/dax.h index ddd829ab58c0..ea176d875d60 100644 --- a/drivers/dax/dax.h +++ b/drivers/dax/dax.h | |||
@@ -13,13 +13,13 @@ | |||
13 | #ifndef __DAX_H__ | 13 | #ifndef __DAX_H__ |
14 | #define __DAX_H__ | 14 | #define __DAX_H__ |
15 | struct device; | 15 | struct device; |
16 | struct dax_dev; | 16 | struct dev_dax; |
17 | struct resource; | 17 | struct resource; |
18 | struct dax_region; | 18 | struct dax_region; |
19 | void dax_region_put(struct dax_region *dax_region); | 19 | void dax_region_put(struct dax_region *dax_region); |
20 | struct dax_region *alloc_dax_region(struct device *parent, | 20 | struct dax_region *alloc_dax_region(struct device *parent, |
21 | int region_id, struct resource *res, unsigned int align, | 21 | int region_id, struct resource *res, unsigned int align, |
22 | void *addr, unsigned long flags); | 22 | void *addr, unsigned long flags); |
23 | struct dax_dev *devm_create_dax_dev(struct dax_region *dax_region, | 23 | struct dev_dax *devm_create_dev_dax(struct dax_region *dax_region, |
24 | struct resource *res, int count); | 24 | struct resource *res, int count); |
25 | #endif /* __DAX_H__ */ | 25 | #endif /* __DAX_H__ */ |