summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2023-04-07 23:31:40 +0300
committerVinod Koul <vkoul@kernel.org>2023-04-12 20:48:45 +0300
commite6fd6d7e5f0fe4a17a08e892afb5db800e7794ec (patch)
treeb0ec0c7ce03e680e029680b06fdb7292ae933e28 /arch/um
parentfecae134ee10b7de69461c197450f7c05677e733 (diff)
downloadlinux-e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec.tar.xz
dmaengine: idxd: add a device to represent the file opened
Embed a struct device for the user file context in order to export sysfs attributes related with the opened file. Tie the lifetime of the file context to the device. The sysfs entry will be added under the char device. Tested-by: Tony Zhu <tony.zhu@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Co-developed-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Link: https://lore.kernel.org/r/20230407203143.2189681-14-fenghua.yu@intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions