linux/drivers/accel/habanalabs/common
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
..
mmu accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
pci accel/habanalabs: Remove redundant pci_clear_master 2023-04-08 10:39:33 +03:00
asid.c
command_buffer.c accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
command_submission.c accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
context.c
debugfs.c accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
decoder.c accel/habanalabs: fix events mask of decoder abnormal interrupts 2023-04-08 10:39:34 +03:00
device.c accel/habanalabs: refactor error info reset 2023-06-08 12:35:56 +03:00
firmware_if.c accel/habanalabs: update state when loading boot fit 2023-06-08 12:35:56 +03:00
habanalabs_drv.c accel/habanalabs: refactor error info reset 2023-06-08 12:35:56 +03:00
habanalabs_ioctl.c accel/habanalabs: move ioctl error print to debug level 2023-06-08 12:35:56 +03:00
habanalabs.h accel/habanalabs: add more debugfs stub helpers 2023-07-20 12:51:59 +02:00
hw_queue.c
hwmon.c hwmon: constify pointers to hwmon_channel_info 2023-04-07 08:45:17 -07:00
irq.c accel/habanalabs: add event queue extra validation 2023-06-08 12:35:56 +03:00
Makefile
memory_mgr.c accel/habanalabs: Fix spelling mistake "maped" -> "mapped" 2023-03-20 17:35:25 +02:00
memory.c accel/habanalabs: remove support for mmu disable 2023-06-08 12:35:55 +03:00
security.c accel/habanalabs: rename security functions related arguments 2023-06-08 12:35:55 +03:00
security.h accel/habanalabs: change unused extern decl of hdev to forward decl of hl_device 2023-03-15 13:29:14 +02:00
state_dump.c
sysfs.c accel/habanalabs: add missing error flow in hl_sysfs_init() 2023-04-08 10:44:23 +03:00