From patchwork Sun Sep 18 13:01:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 76468 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp517267qgf; Sun, 18 Sep 2016 06:02:08 -0700 (PDT) X-Received: by 10.98.139.220 with SMTP id e89mr38128434pfl.125.1474203728123; Sun, 18 Sep 2016 06:02:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si22839357pax.227.2016.09.18.06.02.07; Sun, 18 Sep 2016 06:02:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932354AbcIRNCG (ORCPT + 8 others); Sun, 18 Sep 2016 09:02:06 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:33676 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757020AbcIRNCF (ORCPT ); Sun, 18 Sep 2016 09:02:05 -0400 Received: by mail-pf0-f174.google.com with SMTP id 21so31031561pfy.0 for ; Sun, 18 Sep 2016 06:02:05 -0700 (PDT) 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=kmlwBEkjhzMtdB/VkJq/kCHQ9Re5D4KiWvRttuvu9i+Qf+hVfxqIL0ZL1QH99+DF0/ 1v7svybCPQ+VjEtdnKvtSXj0af92iqsX1LAH4rTH+QOLtX0o2dzQddibFNI4W5uKlDEV 6TAkOa7sxxHITg8rADPES8eZhvz98bpbCe+7IVUX4V41QtxF2wVYOprOAIssv0rVC2cm N68I8m2+O1nayH03iXP3KQhG+BWsEkJKjWrz45WF2eNdykKCDqCrOlSMrUrxKEs+0ISx pqn71wjoGy0pEAweEvkg2Mu/FHqaGOHjLENoXenkqGTE2okwPn0YKMF8vb448tCPdyy1 iP/w== X-Gm-Message-State: AE9vXwOq25BhK0slfMremWQfVWo7tcyZM4mnKXWk1d0jGWoF1Z5C/vQ+nSwFGDHh2dAcYVxP X-Received: by 10.98.57.2 with SMTP id g2mr24641189pfa.15.1474203725047; Sun, 18 Sep 2016 06:02:05 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.27]) by smtp.gmail.com with ESMTPSA id s12sm64461620pfj.73.2016.09.18.06.02.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Sep 2016 06:02:04 -0700 (PDT) From: Baoyou Xie To: robdclark@gmail.com, airlied@linux.ie 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 Subject: [PATCH] drm/msm: add missing header dependencies Date: Sun, 18 Sep 2016 21:01:48 +0800 Message-Id: <1474203708-27283-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- drivers/gpu/drm/msm/msm_debugfs.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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) {