]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: fix build errors with drm_print.h
authorSam Ravnborg <sam@ravnborg.org>
Sun, 9 Jun 2019 22:07:48 +0000 (00:07 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 10 Jun 2019 20:58:53 +0000 (22:58 +0200)
commit656600efd67b9b185bc1c85ec68d9420c2bbb812
tree42f58a2ba1092ab9d7032dfa782d0d560f1b6967
parentc182615f3ea31eb4df6133beb0d62d8ff7b83e08
drm: fix build errors with drm_print.h

drm_print.h requires <drm/drm.h> to fix build when macros are used.
Pull in the header file in drm_print.h so users do not have to do it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190609220757.10862-2-sam@ravnborg.org
include/drm/drm_print.h