habanalabs: pass device pointer to asic-specific function
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 12 May 2019 13:53:16 +0000 (16:53 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 12 May 2019 13:53:16 +0000 (16:53 +0300)
commit921a465ba7bcdf09b94533d5fc426581931ce377
treec87b57193a9bf20c4075abd090cb1c0ffdee6b1b
parenta08b51a9a0f3664bd0d7a18982a35e3f75adc308
habanalabs: pass device pointer to asic-specific function

This patch adds a new parameter that is passed to the
add_end_of_cb_packets() asic-specific function.

The parameter is the pointer to the driver's device structure. The
function needs this pointer for future ASICs.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/goya/goyaP.h
drivers/misc/habanalabs/habanalabs.h
drivers/misc/habanalabs/hw_queue.c