diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-01-08 20:29:30 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-01-09 22:11:28 +0100 |
commit | 2513147dce2353eb6d1a947ab543e3758724362d (patch) | |
tree | 9008afde026d85cb14478dfcd59ef0037ebfe395 /drivers/gpu/drm/drm_gem.c | |
parent | drm: move DRM_SWITCH_POWER defines to drm_device.h (diff) | |
download | linux-2513147dce2353eb6d1a947ab543e3758724362d.tar.xz linux-2513147dce2353eb6d1a947ab543e3758724362d.zip |
drm: make drm_framebuffer.h self contained
Add forward declaration and pull in include
file to make drm_framebuffer.h self contained.
While add it order include files alphabetically.
The use of TASK_COMM_LEN is the reason for including sched.h.
I could not see any good way to avoid this dependency,
and users of drm_framebuffer.comm already use
TASK_COMM_LEN to check for length etc.
v2:
- Added forward declaration of drm_gem_object (Noralf)
- Added ack from Noralf
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108192939.15255-4-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions