linux/drivers/accel/habanalabs
Arnd Bergmann 78e9b217d7 accel/habanalabs: add more debugfs stub helpers
Two functions got added with normal prototypes for debugfs, but not
alternative when building without it:

drivers/accel/habanalabs/common/device.c: In function 'hl_device_init':
drivers/accel/habanalabs/common/device.c:2177:14: error: implicit declaration of function 'hl_debugfs_device_init'; did you mean 'hl_debugfs_init'? [-Werror=implicit-function-declaration]
drivers/accel/habanalabs/common/device.c:2305:9: error: implicit declaration of function 'hl_debugfs_device_fini'; did you mean 'hl_debugfs_remove_file'? [-Werror=implicit-function-declaration]

Add stubs for these as well.

Fixes: 3b9abb4fa6 ("accel/habanalabs: expose debugfs files later")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Acked-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230609120636.3969045-1-arnd@kernel.org
2023-07-20 12:51:59 +02:00
..
common accel/habanalabs: add more debugfs stub helpers 2023-07-20 12:51:59 +02:00
gaudi accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
gaudi2 accel/habanalabs: add event queue extra validation 2023-06-08 12:35:56 +03:00
goya accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
include accel/habanalabs: print qman data on error only for lower qman 2023-06-08 12:35:56 +03:00
Kconfig
Makefile