diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-05-19 21:55:24 +0200 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-05-22 14:13:37 +0200 |
commit | 5ffa31ed4e122fe5020fa1fa1fc486747c25705e (patch) | |
tree | 68f95b7695597f2314b5fef3f70f37c7dea4659c /drivers/gpu/drm/gma500/gma_display.h | |
parent | 514743357f5a26cad4a15a336066cca56592151d (diff) | |
download | linux-5ffa31ed4e122fe5020fa1fa1fc486747c25705e.tar.gz |
drm/gma500: make local header files more self-contained
Add proper forward declarations to minimize dependencies on
other header files.
Just add enough that we can safely include all header files in
alphabetically order in relevant files.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190519195526.3422-4-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/gma500/gma_display.h')
-rw-r--r-- | drivers/gpu/drm/gma500/gma_display.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gma_display.h b/drivers/gpu/drm/gma500/gma_display.h index 239c374b6169..e970cb869ea7 100644 --- a/drivers/gpu/drm/gma500/gma_display.h +++ b/drivers/gpu/drm/gma500/gma_display.h @@ -24,6 +24,9 @@ #include <linux/pm_runtime.h> +struct drm_encoder; +struct drm_mode_set; + struct gma_clock_t { /* given values */ int n; |