From patchwork Sun Sep 25 07:51:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 76958 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp630179qgf; Sun, 25 Sep 2016 00:52:18 -0700 (PDT) X-Received: by 10.98.65.1 with SMTP id o1mr27970125pfa.134.1474789938023; Sun, 25 Sep 2016 00:52:18 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si4920007pay.261.2016.09.25.00.52.17; Sun, 25 Sep 2016 00:52:18 -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 S1422718AbcIYHwQ (ORCPT + 8 others); Sun, 25 Sep 2016 03:52:16 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33738 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751789AbcIYHwO (ORCPT ); Sun, 25 Sep 2016 03:52:14 -0400 Received: by mail-pf0-f172.google.com with SMTP id 21so55274824pfy.0 for ; Sun, 25 Sep 2016 00:52:12 -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=U9JEMcxJrORARQRwSjTWqeEQZEwIGWLLSDNL5f0Bhg0ORQSU//Dzw+BTRpx4S+dD3/ loWWmU+6uHZ6vfvHwm8s+BgjomgnP7MM5Nc9Fqhg87pLOtyeMHfNsOy30JlGL6JP3x+B KNEHx/s/G7/lmq0UBHSFqn8C8jA2XHu8k1B/k= 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=bOyitaSfN5KfPol79Mjsr+QKVy+uUgdkC8H/CtfB7ZqHqIV6r2MYNiPt/XD6f4fl3l ULx0+WOagp2NawMRB5xhNBhMQ41q9n7fFZTJenkjs3KhpmK5ZApnWoNnPbq3JrJpK0o7 6N8jOnNmF8Rp8HrMjE5SVUWU4SeTqgpKjG23GQQWPUCm9Cb0n/HmD2keIqPGvWRPMVV+ EZ/r+URWz3GQ748P0ZQCodHwZ+ePG7oM1k7iVbWj2jytmzjwpqtzUrxdOlL63qXuhHK7 0L3g6m7ctEX5iHNwpHnWPR+53SuV++fTAHFVOY3SoVpX3M7tboC8PcAi3lBh2M6DOP+0 /INA== X-Gm-Message-State: AE9vXwNIy88jKbXTxnkgRqi9I3hYfC6+kAACpq7eM4MrmAZPwUGtMCTZ/t2hVoR/V0MddU2n X-Received: by 10.98.145.25 with SMTP id l25mr27313608pfe.63.1474789932234; Sun, 25 Sep 2016 00:52:12 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.164]) by smtp.gmail.com with ESMTPSA id d128sm8451404pfc.57.2016.09.25.00.52.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Sep 2016 00:52:11 -0700 (PDT) From: Baoyou Xie To: robdclark@gmail.com, airlied@linux.ie, architt@codeaurora.org, cstout@chromium.org 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, han.fei@zte.com.cn, tang.qiang007@zte.com.cn Subject: [PATCH 1/2] drm/msm: add missing header dependencies Date: Sun, 25 Sep 2016 15:51:57 +0800 Message-Id: <1474789918-29365-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) {