From patchwork Sat Oct 22 09:41:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 78786 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1703507qge; Sat, 22 Oct 2016 02:44:41 -0700 (PDT) X-Received: by 10.98.75.8 with SMTP id y8mr9771178pfa.30.1477129481351; Sat, 22 Oct 2016 02:44:41 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t188si6248217pfb.122.2016.10.22.02.44.41; Sat, 22 Oct 2016 02:44:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938587AbcJVJoe (ORCPT + 27 others); Sat, 22 Oct 2016 05:44:34 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36539 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936486AbcJVJo3 (ORCPT ); Sat, 22 Oct 2016 05:44:29 -0400 Received: by mail-pf0-f178.google.com with SMTP id e6so70617291pfk.3 for ; Sat, 22 Oct 2016 02:44:29 -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=DFdXafOGzb5UnbaMhWvFKRY9RLOiaKwUnes/LJZKfd0=; b=A9JkvPLqhVM0zjBnrN+AE8x9ssx/Jx2N7s70mBBfUpZ5b0IQqil6unviGmUCl4bvle ftUKyPrVO3/GozUjB/z2FW8TDbvgTffJuYEF1xlTdbg139zQWvwHSj64tPtyoaX9Mgbj Ud6gNwuTsycnMmY4FJnusUARndB7VWbp1U+6w= 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=DFdXafOGzb5UnbaMhWvFKRY9RLOiaKwUnes/LJZKfd0=; b=duu+sIzfavSB1Xl4s+USXD/L/vp2ylypPR8VdFYzh/Jboq3v6od92j7qdIZzehgHKC +H+Y2JQah5ecaDKiWG51F4FX191mdJe6ljnZqRhiYLqlnfmIv2NgXeJ+W9niz3ruf7It i9N+aKNUkoAIs7Guhap/JleHiy1xZedLBhE+ZNHM9H/btyHUnqDied7xM8gxmybhRgg0 yvYt4cEelkm3h05XOtqzjVooiv94G6EI/iB8ZIpxBcQmis2sXYWAGiCYQVZm8SmFsBIU 75/rICWzOACaoBqYDUb2ZrWZKaFchS9ApoXfjReekzNi6CI9vWqAM8TQKtm8LZWHXmmS BxTg== X-Gm-Message-State: ABUngveGbncrT5W1bzsONAuzjWYlHUrOCtkWPWhZivrKaZ3tIWtpArfoPKMN6HiELW0z4I/V X-Received: by 10.99.127.75 with SMTP id p11mr8026283pgn.61.1477129463901; Sat, 22 Oct 2016 02:44:23 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id g9sm10923953paw.40.2016.10.22.02.44.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Oct 2016 02:44:23 -0700 (PDT) From: Baoyou Xie To: bskeggs@redhat.com, airlied@linux.ie, acourbot@nvidia.com, imirkin@alum.mit.edu, Julia.Lawall@lip6.fr, martin.peres@free.fr, rspliet@eclipso.eu, nouveau@karolherbst.de Cc: dri-devel@lists.freedesktop.org, nouveau@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 13/17] drm/nouveau/gr: add missing header dependencies Date: Sat, 22 Oct 2016 17:41:54 +0800 Message-Id: <1477129318-29677-13-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477129318-29677-1-git-send-email-baoyou.xie@linaro.org> References: <1477129318-29677-1-git-send-email-baoyou.xie@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 2 warnings when building kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c:255:1: warning: no previous prototype for 'nv50_grctx_fill' [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c:265:1: warning: no previous prototype for 'nv50_grctx_init' [-Wmissing-prototypes] In fact, these functions are declared in drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h. So this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c index 1e13278..c8bb919 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c @@ -106,6 +106,7 @@ #define CP_SEEK_2 0x00c800ff #include "ctxnv40.h" +#include "nv50.h" #include