device-dax: Start defining a dax bus model
authorDan Williams <dan.j.williams@intel.com>
Thu, 13 Jul 2017 00:58:21 +0000 (17:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 7 Jan 2019 05:24:46 +0000 (21:24 -0800)
commit51cf784c42d07fbd62cb604836a9270cf3361509
tree808f5603d9f6f71f7727b33224d1a79cd958e99c
parent753a0850e707e9a8c5861356222f9b9e4eba7945
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>
drivers/dax/Makefile
drivers/dax/bus.c [new file with mode: 0644]
drivers/dax/bus.h [new file with mode: 0644]
drivers/dax/dax-private.h
drivers/dax/dax.h [deleted file]
drivers/dax/device-dax.h [deleted file]
drivers/dax/device.c
drivers/dax/pmem.c
drivers/dax/super.c
tools/testing/nvdimm/Kbuild