Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1398288

[PATCH 2/3] drm/rockchip: fb: add missing header

From John Keeping <john@metanate.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] drm/rockchip: fb: add missing header
Date 2016-05-10 18:10 +0200
Message-ID <rxios-5TU-67@gated-at.bofh.it> (permalink)
References <rxioq-5TU-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
index 8c10163a95bc..85aa87ee12f5 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)
-- 
2.8.2.565.gdb84f68.dirty

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] drm/rockchip: fix some sparse warnings John Keeping <john@metanate.com> - 2016-05-10 18:10 +0200
  [PATCH 2/3] drm/rockchip: fb: add missing header John Keeping <john@metanate.com> - 2016-05-10 18:10 +0200
  [PATCH 1/3] drm/rockchip: dw_hdmi: remove unused #include John Keeping <john@metanate.com> - 2016-05-10 18:10 +0200

csiph-web