summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon
diff options
context:
space:
mode:
authorVishal Verma2019-02-23 00:58:54 +0100
committerDan Williams2019-02-28 06:03:48 +0100
commitc347bd71dcdb2d0ac8b3a771486584dca8c8dd80 (patch)
treef83ed64c3db29bc6b3a55f73a62b42d3cb49c62b /drivers/clk/hisilicon
parentdevice-dax: Add a 'target_node' attribute (diff)
downloadkernel-qcow2-linux-c347bd71dcdb2d0ac8b3a771486584dca8c8dd80.tar.gz
kernel-qcow2-linux-c347bd71dcdb2d0ac8b3a771486584dca8c8dd80.tar.xz
kernel-qcow2-linux-c347bd71dcdb2d0ac8b3a771486584dca8c8dd80.zip
device-dax: Add a 'modalias' attribute to DAX 'bus' devices
Add a 'modalias' attribute to devices under the DAX bus so that userspace is able to dynamically load modules as needed. Normally, udev can get the modalias from 'uevent', and that is correctly set up by the DAX bus. However other tooling such as 'libndctl' for interacting with drivers/nvdimm/, and 'libdaxctl' for drivers/dax/ can also use the modalias to dynamically load modules via libkmod lookups. The 'nd' bus set up by the libnvdimm subsystem exports a modalias attribute. Imitate this to export the same for the 'dax' bus. Cc: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/clk/hisilicon')
0 files changed, 0 insertions, 0 deletions