]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/print: Include drm_device.h
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 21 Jan 2025 21:09:25 +0000 (18:09 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 25 Jan 2025 20:55:55 +0000 (12:55 -0800)
commite0f63bc68f59d281e2d06e596f6c1bd9382a15cd
tree5c7a03705e94b813789b2ee8cfe8b30e4f75bb76
parent0a1ee19d46b71691c5acdf234bb6105913bd9add
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>
include/drm/drm_print.h