diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-04-07 23:31:40 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-04-12 20:48:45 +0300 |
commit | e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec (patch) | |
tree | b0ec0c7ce03e680e029680b06fdb7292ae933e28 /arch/um | |
parent | fecae134ee10b7de69461c197450f7c05677e733 (diff) | |
download | linux-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