diff options
| author | Daniel Vetter <[email protected]> | 2014-10-29 09:03:57 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-11-04 23:14:55 +0000 |
| commit | 3cb9ae4fd82ebc9759bc59998c88c385d35496fe (patch) | |
| tree | 32e7014a714680c4fe0344511791652750d9d8fa /drivers/gpu/drm/ast/ast_mode.c | |
| parent | Merge tag 'drm-intel-next-2014-10-03-no-ppgtt' of git://anongit.freedesktop.o... (diff) | |
| download | kernel-3cb9ae4fd82ebc9759bc59998c88c385d35496fe.tar.gz kernel-3cb9ae4fd82ebc9759bc59998c88c385d35496fe.zip | |
drm: Move drm_crtc_init from drm_crtc.h to drm_plane_helper.h
Just a bit of OCD cleanup on headers - this function isn't the core
interface any more but just a helper for drivers who haven't yet
transitioned to universal planes. Put the declaration at the right
spot and sprinkle necessary #includes over all drivers.
Maybe this helps to encourage driver maintainers to do the switch.
v2: Fix #include ordering for tegra, reported by 0-day builder.
v3: Include required headers, reported by Thierry.
Cc: Matt Roper <[email protected]>
Cc: Thierry Reding <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
| -rw-r--r-- | drivers/gpu/drm/ast/ast_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 9dc0fd5c1ea4..b7ee2634e47c 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -31,6 +31,7 @@ #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_plane_helper.h> #include "ast_drv.h" #include "ast_tables.h" |
