From patchwork Sat Oct 22 09:17:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 78773 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1697472qge; Sat, 22 Oct 2016 02:19:22 -0700 (PDT) X-Received: by 10.98.13.20 with SMTP id v20mr9692007pfi.80.1477127962673; Sat, 22 Oct 2016 02:19:22 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si6163602pgf.221.2016.10.22.02.19.22; Sat, 22 Oct 2016 02:19:22 -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 S936550AbcJVJTV (ORCPT + 10 others); Sat, 22 Oct 2016 05:19:21 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35102 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936462AbcJVJTU (ORCPT ); Sat, 22 Oct 2016 05:19:20 -0400 Received: by mail-pf0-f181.google.com with SMTP id s8so70418925pfj.2 for ; Sat, 22 Oct 2016 02:19:20 -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:in-reply-to:references; bh=iliML96LwwgVBpqa9rW8qmpJVFwA5O4tzh47yOho+qM=; b=QAEaZ60hgbCNBE3Q+Zs9BkS13pKxYQDnGTm3DRgCvdHrjwk89aQX2+Q5tc0MOZtXEp HkB9lih+8nfC7Mf10gVqeVLbnbJr2t2ro91Nv8y5rYdfqAacu3VrrCU5e6mGFpLOjwFF FIq04RNB46vYN5RlTX8Atcd5S+V+KIKvLDXQY= 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:in-reply-to :references; bh=iliML96LwwgVBpqa9rW8qmpJVFwA5O4tzh47yOho+qM=; b=HdGHZzhu5P26dSx35+Bawb6PNiZfHEduo/G89QyBlqp5MwOI7S5qgPHa180vl4ULkN N29z1Nu8dMr7aFpI7VD3urypLFKTME044X49lF0PVKS9xBN37cpu+nraYdK2rl4m4Azl vUquIozPuQ1YTWN3f5qlpNSGONX6dpGQSfUeSOr/WZVaHtFtKSmsBMbzjEXyVe/7j0aG c3qUyv2blWws/fGZjURQ6ohVOMRxYyknbFYxwTQ5pdl6Wx+zv9Gwbb+GvGfa5qR4oxJr X9jTFR6Pd/bxLjgp63fEiTO83BS5Xjyv+msx/5b6g+K4Q53W9MjoyJfA4Hgd0Pzz1iMk 7p8A== X-Gm-Message-State: ABUngvcKCnRVk/IuSbYfNvtqB7pHNnfLepiyvV2Sidh/iq+pUZV81k1myMfxlhBxu0zfVI47 X-Received: by 10.99.184.25 with SMTP id p25mr8000653pge.120.1477127959675; Sat, 22 Oct 2016 02:19:19 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id ak3sm10770537pad.19.2016.10.22.02.19.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Oct 2016 02:19:19 -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: Sat, 22 Oct 2016 17:17:45 +0800 Message-Id: <1477127865-9381-2-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477127865-9381-1-git-send-email-baoyou.xie@linaro.org> References: <1477127865-9381-1-git-send-email-baoyou.xie@linaro.org> 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, these 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) {