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


Groups > linux.kernel > #1485795

[PATCH] drm/msm: add missing header dependencies

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Baoyou Xie <baoyou.xie@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] drm/msm: add missing header dependencies
Date Sun, 18 Sep 2016 15:10:01 +0200
Message-ID <siK13-5u-3@gated-at.bofh.it> (permalink)
X-Original-To robdclark@gmail.com, airlied@linux.ie
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dvRGMLJdJ8pKZDx8l/Fn+ZdLOzkdBuai7FNkm8Hj1OU=; b=JRNQzAJQg/W/FVzFT+QFLgpE6jxF6YOAFgy0KyOYU9VlyebOFdr0GyyCVKXbJI2QMA WCjE9q8/cFMu5XXC4362i51kHySaaLVF6XpSbkBP5SHJHNwv1CNPvI1gNGs8iz4/7pYb NpOspAu3YW866kTMlvhAqCm40YZRXoCIW6/7I=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dvRGMLJdJ8pKZDx8l/Fn+ZdLOzkdBuai7FNkm8Hj1OU=; b=hngBbr9CjXt92IRDWaC71yJvDaNnBcgBMynCTqzlX3I8Vo9dK2xZSqXmNjfkXeH6I2 wHq/TQSQBl3OzOMNcE01/t7iqCOZirc0UWVR3n4QhwVmrzEJDvcUIRAYZdokQ19gQeUC wDq5MEcGVo+AXv30lzQ2DbPgp95Y+gwUsfjejXNSqJ7UdJpghrZfVuymCF9E1CRMf5Lq W8Kp/VEoqVsU7xLB80aiko64aHb+kYlK0ve9qoYOVYRpnU68+443jpBSVibWp3Iog1NS BW4Yz8ozo98z7aJ1j9jRKYpoIqY/kiJx1K/Eq16fL1OiK3u9g6xoO2lDj9/1NZ+3zRfB nOOg==
X-Gm-Message-State AE9vXwPhL+BMRSfKVHS79BubyQcHpIk8Y0p2p2zPaIE/EnpSItVl4Sv/N8nXca6Zd1HCaLLV
X-Received by 10.98.57.2 with SMTP id g2mr24641189pfa.15.1474203725047; Sun, 18 Sep 2016 06:02:05 -0700 (PDT)
X-Mailer git-send-email 2.7.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn
X-Original-Date Sun, 18 Sep 2016 21:01:48 +0800
X-Original-Message-ID <1474203708-27283-1-git-send-email-baoyou.xie@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1485795

Show key headers only | View raw


We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/msm/msm_debugfs.c:141:5: warning: no previous prototype for 'msm_debugfs_init' [-Wmissing-prototypes]
drivers/gpu/drm/msm/msm_debugfs.c:158:6: warning: no previous prototype for 'msm_debugfs_cleanup' [-Wmissing-prototypes]

In fact, both functions are declared in drivers/gpu/drm/msm/msm_debugfs.h,
so this patch adds missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
---
 drivers/gpu/drm/msm/msm_debugfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/msm/msm_debugfs.c b/drivers/gpu/drm/msm/msm_debugfs.c
index 663f2b6..3c85373 100644
--- a/drivers/gpu/drm/msm/msm_debugfs.c
+++ b/drivers/gpu/drm/msm/msm_debugfs.c
@@ -18,6 +18,7 @@
 #ifdef CONFIG_DEBUG_FS
 #include "msm_drv.h"
 #include "msm_gpu.h"
+#include "msm_debugfs.h"
 
 static int msm_gpu_show(struct drm_device *dev, struct seq_file *m)
 {
-- 
2.7.4

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


Thread

[PATCH] drm/msm: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-18 15:10 +0200

csiph-web