linux/drivers/accel/qaic
Arnd Bergmann 42d34193f9 accel/qaic: mark debugfs stub functions as static inline
The alternative stub functions are listed as global, which produces
a build failure in some configs:

In file included from drivers/accel/qaic/qaic_drv.c:31:
drivers/accel/qaic/qaic_debugfs.h:16:5: error: no previous prototype for 'qaic_bootlog_register' [-Werror=missing-prototypes]
   16 | int qaic_bootlog_register(void) { return 0; }
      |     ^~~~~~~~~~~~~~~~~~~~~
drivers/accel/qaic/qaic_debugfs.h:17:6: error: no previous prototype for 'qaic_bootlog_unregister' [-Werror=missing-prototypes]
   17 | void qaic_bootlog_unregister(void) {}
      |      ^~~~~~~~~~~~~~~~~~~~~~~
drivers/accel/qaic/qaic_debugfs.h:18:6: error: no previous prototype for 'qaic_debugfs_init' [-Werror=missing-prototypes]
   18 | void qaic_debugfs_init(struct qaic_drm_device *qddev) {}
      |      ^~~~~~~~~~~~~~~~~

Make them static inline as intended.

Fixes: 5f8df5c6de ("accel/qaic: Add bootlog debugfs")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240409133945.2976190-1-arnd@kernel.org
2024-04-12 09:53:28 -06:00
..
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00
mhi_controller.c accel/qaic: Constify aic100_channels 2024-02-23 09:06:50 -07:00
mhi_controller.h accel/qaic: Enable 1 MSI fallback mode 2023-10-27 09:39:39 -06:00
qaic_control.c accel/qaic: Increase number of in_reset states 2023-12-01 10:35:32 -07:00
qaic_data.c accel/qaic: Add fifo queued debugfs 2024-04-05 09:47:56 -06:00
qaic_debugfs.c accel/qaic: Add fifo queued debugfs 2024-04-05 09:47:56 -06:00
qaic_debugfs.h accel/qaic: mark debugfs stub functions as static inline 2024-04-12 09:53:28 -06:00
qaic_drv.c accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00
qaic_timesync.c accel/qaic: Support MHI QAIC_TIMESYNC channel 2023-10-27 10:06:34 -06:00
qaic_timesync.h accel/qaic: Add support for periodic timesync 2023-10-27 10:05:42 -06:00
qaic.h accel/qaic: Add fifo queued debugfs 2024-04-05 09:47:56 -06:00
sahara.c accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00
sahara.h accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00