summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/gma_device.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-01-15 18:12:55 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-01-18 15:44:50 +0100
commitba42485c1856db0b799ed5f2a27e18de66d849f6 (patch)
treee1f3b61b13e2ba3eff53307a215eb73e4cc28c18 /drivers/gpu/drm/gma500/gma_device.c
parent98daaba0a7c36dc7a1fd208040c7d043fe1f1ad9 (diff)
drm/gma500/gma_device: Include our own header containing prototypes
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gma_device.c:10:6: warning: no previous prototype for ‘gma_get_core_freq’ [-Wmissing-prototypes] Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210115181313.3431493-23-lee.jones@linaro.org
Diffstat (limited to 'drivers/gpu/drm/gma500/gma_device.c')
-rw-r--r--drivers/gpu/drm/gma500/gma_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gma_device.c b/drivers/gpu/drm/gma500/gma_device.c
index cfbeb010ede0..4c91e86f4b14 100644
--- a/drivers/gpu/drm/gma500/gma_device.c
+++ b/drivers/gpu/drm/gma500/gma_device.c
@@ -6,6 +6,7 @@
**************************************************************************/
#include "psb_drv.h"
+#include "gma_device.h"
void gma_get_core_freq(struct drm_device *dev)
{