summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/gma_device.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-05-19 21:55:24 +0200
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2019-05-22 14:13:37 +0200
commit5ffa31ed4e122fe5020fa1fa1fc486747c25705e (patch)
tree68f95b7695597f2314b5fef3f70f37c7dea4659c /drivers/gpu/drm/gma500/gma_device.h
parent514743357f5a26cad4a15a336066cca56592151d (diff)
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_device.h')
-rw-r--r--drivers/gpu/drm/gma500/gma_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gma_device.h b/drivers/gpu/drm/gma500/gma_device.h
index e1dbb007b820..9f0bb916562f 100644
--- a/drivers/gpu/drm/gma500/gma_device.h
+++ b/drivers/gpu/drm/gma500/gma_device.h
@@ -15,6 +15,7 @@
#ifndef _GMA_DEVICE_H
#define _GMA_DEVICE_H
+struct drm_device;
extern void gma_get_core_freq(struct drm_device *dev);