Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/crc: make drm_debugfs_crc.h self-contained and fix kernel-doc

Add a number of require includes and forward declare struct
drm_crtc. s/crc/crcs/ kernel-doc to match code.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/290b006bb348a03bd7c4c062d337df21fdaced53.1709749576.git.jani.nikula@intel.com

+7 -1
+7 -1
include/drm/drm_debugfs_crc.h
··· 22 22 #ifndef __DRM_DEBUGFS_CRC_H__ 23 23 #define __DRM_DEBUGFS_CRC_H__ 24 24 25 + #include <linux/spinlock_types.h> 26 + #include <linux/types.h> 27 + #include <linux/wait.h> 28 + 29 + struct drm_crtc; 30 + 25 31 #define DRM_MAX_CRC_NR 10 26 32 27 33 /** 28 34 * struct drm_crtc_crc_entry - entry describing a frame's content 29 35 * @has_frame_counter: whether the source was able to provide a frame number 30 36 * @frame: number of the frame this CRC is about, if @has_frame_counter is true 31 - * @crc: array of values that characterize the frame 37 + * @crcs: array of values that characterize the frame 32 38 */ 33 39 struct drm_crtc_crc_entry { 34 40 bool has_frame_counter;