diff options
| author | Omer Shpigelman <oshpigelman@habana.ai> | 2022-08-04 17:32:30 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-09-18 13:29:52 +0300 |
| commit | 273190d4204ef44b14b97e571ed7b4e42504189f (patch) | |
| tree | be7d0c78ab4b65dfc78072382020e720537e9805 /lib/mpi/mpi-sub-ui.c | |
| parent | 78da23cb103336be27a5fa5f3d16ff7b08f7b4b9 (diff) | |
habanalabs: add cdev index data member
Instead of recalculating the cdev index, store it in a dedicated data
member. This data member is intended to be passed to other drivers using
the auxiliary bus infra and hence this new data member is necessary in
case that the calculation is changed in the future.
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
