summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2020-09-01 10:33:25 +0200
committerJuergen Gross <jgross@suse.com>2020-09-04 09:59:59 +0200
commit4533d3aed857c558d6aabd00d0cb04100c5a2258 (patch)
tree4fdcf4778757cc519baa2b797cb7612dd8aa1cf1 /drivers/dax
parentaecb2016c90a1b620e21c9e143afbdc9666cce52 (diff)
memremap: rename MEMORY_DEVICE_DEVDAX to MEMORY_DEVICE_GENERIC
This is in preparation for the logic behind MEMORY_DEVICE_DEVDAX also being used by non DAX devices. No functional change intended. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Link: https://lore.kernel.org/r/20200901083326.21264-3-roger.pau@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/dax')
-rw-r--r--drivers/dax/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/device.c b/drivers/dax/device.c
index 4c0af2eb7e19..1e89513f3c59 100644
--- a/drivers/dax/device.c
+++ b/drivers/dax/device.c
@@ -429,7 +429,7 @@ int dev_dax_probe(struct device *dev)
return -EBUSY;
}
- dev_dax->pgmap.type = MEMORY_DEVICE_DEVDAX;
+ dev_dax->pgmap.type = MEMORY_DEVICE_GENERIC;
addr = devm_memremap_pages(dev, &dev_dax->pgmap);
if (IS_ERR(addr))
return PTR_ERR(addr);