diff options
author | John Keeping <john@metanate.com> | 2016-05-10 16:03:55 (GMT) |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2016-07-19 01:42:18 (GMT) |
commit | a7e03fb537b42bb598a18ef0d66b5f1b1a99bae3 (patch) | |
tree | 44b9e01666b81ccaf5e576f59eb3431ed074e335 /drivers/gpu/drm/rockchip/rockchip_drm_fb.c | |
parent | a38656958e33c5fffec43569a23b6734a71d25b9 (diff) | |
download | linux-a7e03fb537b42bb598a18ef0d66b5f1b1a99bae3.tar.xz |
drm/rockchip: fb: add missing header
This fixes the following sparse warnings:
drivers/gpu/drm/rockchip/rockchip_drm_fb.c:32:23: warning: symbol 'rockchip_fb_get_gem_obj' was not declared. Should it be static?
drivers/gpu/drm/rockchip/rockchip_drm_fb.c:315:24: warning: symbol 'rockchip_drm_framebuffer_init' was not declared. Should it be static?
drivers/gpu/drm/rockchip/rockchip_drm_fb.c:329:6: warning: symbol 'rockchip_drm_mode_config_init' was not declared. Should it be static?
Signed-off-by: John Keeping <john@metanate.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fb.c')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c index 20f12bc..4fe2ab3 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c @@ -20,6 +20,7 @@ #include <drm/drm_crtc_helper.h> #include "rockchip_drm_drv.h" +#include "rockchip_drm_fb.h" #include "rockchip_drm_gem.h" #define to_rockchip_fb(x) container_of(x, struct rockchip_drm_fb, fb) |