summaryrefslogtreecommitdiffstats
path: root/drivers/dax/super.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-07-13 02:58:21 +0200
committerDan Williams <dan.j.williams@intel.com>2019-01-07 06:24:46 +0100
commit51cf784c42d07fbd62cb604836a9270cf3361509 (patch)
tree808f5603d9f6f71f7727b33224d1a79cd958e99c /drivers/dax/super.c
parentdevice-dax: Remove multi-resource infrastructure (diff)
downloadlinux-51cf784c42d07fbd62cb604836a9270cf3361509.tar.xz
linux-51cf784c42d07fbd62cb604836a9270cf3361509.zip
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/super.c')
-rw-r--r--drivers/dax/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dax/super.c b/drivers/dax/super.c
index 6e928f37d084..0ecc1a2cf1cc 100644
--- a/drivers/dax/super.c
+++ b/drivers/dax/super.c
@@ -22,6 +22,7 @@
#include <linux/uio.h>
#include <linux/dax.h>
#include <linux/fs.h>
+#include "dax-private.h"
static dev_t dax_devt;
DEFINE_STATIC_SRCU(dax_srcu);