diff options
author | Dave Jiang <[email protected]> | 2023-04-07 13:31:40 -0700 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-04-12 23:18:45 +0530 |
commit | e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec (patch) | |
tree | b0ec0c7ce03e680e029680b06fdb7292ae933e28 /lib/mpi/mpi-mod.c | |
parent | fecae134ee10b7de69461c197450f7c05677e733 (diff) |
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 <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Co-developed-by: Fenghua Yu <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions