1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

drm/print: Include drm_device.h

The header drm_print.h uses members of struct drm_device pointers, as
such, it should include drm_device.h to let the compiler know the full
type definition.

Without such include, users of drm_print.h that don't explicitly need
drm_device.h would bump into build errors and be forced to include the
latter.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121210935.84357-1-gustavo.sousa@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
Gustavo Sousa 2025-01-21 18:09:25 -03:00 committed by Lucas De Marchi
parent 0a1ee19d46
commit e0f63bc68f

View file

@ -32,6 +32,7 @@
#include <linux/dynamic_debug.h>
#include <drm/drm.h>
#include <drm/drm_device.h>
struct debugfs_regset32;
struct drm_device;