diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-01-15 18:12:55 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-01-18 15:44:50 +0100 |
commit | ba42485c1856db0b799ed5f2a27e18de66d849f6 (patch) | |
tree | e1f3b61b13e2ba3eff53307a215eb73e4cc28c18 /drivers/gpu/drm/gma500/gma_device.c | |
parent | 98daaba0a7c36dc7a1fd208040c7d043fe1f1ad9 (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.c | 1 |
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) { |