aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dax/pmem.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-07-12 20:58:21 -0400
committerDan Williams <dan.j.williams@intel.com>2019-01-07 00:24:46 -0500
commit51cf784c42d07fbd62cb604836a9270cf3361509 (patch)
tree808f5603d9f6f71f7727b33224d1a79cd958e99c /drivers/dax/pmem.c
parent753a0850e707e9a8c5861356222f9b9e4eba7945 (diff)
device-dax: Start defining a dax bus model
Towards eliminating the dax_class, move the dax-device-attribute enabling to a new bus.c file in the core. The amount of code thrash of sub-sequent patches is reduced as no logic changes are made, just pure code movement. A temporary export of unregister_dex_dax() and dax_attribute_groups is needed to preserve compilation, but those symbols become static again in a follow-on patch. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/pmem.c')
-rw-r--r--drivers/dax/pmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/pmem.c b/drivers/dax/pmem.c
index 6c61a019f997..e1b50d8fd1f8 100644
--- a/drivers/dax/pmem.c
+++ b/drivers/dax/pmem.c
@@ -16,7 +16,7 @@
16#include <linux/pfn_t.h> 16#include <linux/pfn_t.h>
17#include "../nvdimm/pfn.h" 17#include "../nvdimm/pfn.h"
18#include "../nvdimm/nd.h" 18#include "../nvdimm/nd.h"
19#include "device-dax.h" 19#include "bus.h"
20 20
21struct dax_pmem { 21struct dax_pmem {
22 struct device *dev; 22 struct device *dev;