From patchwork Sat Oct 22 09:41: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: 78789 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1703625qge; Sat, 22 Oct 2016 02:45:11 -0700 (PDT) X-Received: by 10.99.48.69 with SMTP id w66mr8164126pgw.109.1477129511507; Sat, 22 Oct 2016 02:45:11 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l18si6239489pfi.186.2016.10.22.02.45.11; Sat, 22 Oct 2016 02:45:11 -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 S965040AbcJVJpD (ORCPT + 27 others); Sat, 22 Oct 2016 05:45:03 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:34177 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964878AbcJVJo5 (ORCPT ); Sat, 22 Oct 2016 05:44:57 -0400 Received: by mail-pf0-f181.google.com with SMTP id r16so70658582pfg.1 for ; Sat, 22 Oct 2016 02:44:57 -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=bF0L+yJ1+CAc1rax9s30N2d8CQ8RuascLl/qYUSA2u0=; b=ZsbwpJ+t9uN06dtOfeFUspoVLxg3OgtzdQyaqLcK48KHbLU7IbxbWrMMRg5zQUocGR lMlJZpn/sP1qdQM8eHohk6HGlYKN6FxPzTwk7XGOZeAVOOE0lXI9ohJbEfZXIr4sszTj V7Y891AbuUYTm7SL4nixqfskfholE/oMOQkjc= 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=bF0L+yJ1+CAc1rax9s30N2d8CQ8RuascLl/qYUSA2u0=; b=Z2CVgg/W6t/yaiTsF1IN05xvzqVgcnkZj+5dVVpD+A5XzctT+nDQgIKrFXhwlwZGow 1pNiyxb2q74rScTIUM8XhekMe9o6GqR7bdjoes/2m+goprHCZDn4ZXJcZS1Vx9w5+cly eQjnehx3rnym6wtzJA+uViUlMvmBOzi51FSaEjwnGZD6V/TSid/OIPjiUj4u/o32resn 49LeE/7FlgKOl1PQ/rMA+TMJ6H64TqHSacWMy/UxTNbTJ6gzecA7QOgDBRPWtMv5k2hW SlUXtUohhZiatlq6ZQfIcrCbsMOgDed+EpvNH3REEhrFPehQb2TIUA5fAOJFq7CZh5W+ k+ww== X-Gm-Message-State: ABUngvdhX9VgWP5oOi7yyY8sP7taYAQOOPDeoB1cmUuDJcXyeMPQ09r+NyZ6/MfdfauTMqC9 X-Received: by 10.98.213.132 with SMTP id d126mr9692783pfg.182.1477129491672; Sat, 22 Oct 2016 02:44:51 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id g9sm10923953paw.40.2016.10.22.02.44.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Oct 2016 02:44:51 -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 16/17] drm/nouveau/dispnv04: add missing header dependencies Date: Sat, 22 Oct 2016 17:41:57 +0800 Message-Id: <1477129318-29677-16-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 1 warning when building kernel with W=1: drivers/gpu/drm/nouveau/dispnv04/overlay.c:496:1: warning: no previous prototype for 'nouveau_overlay_init' [-Wmissing-prototypes] In fact, this function is declared in drivers/gpu/drm/nouveau/dispnv04/disp.h. So this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/gpu/drm/nouveau/dispnv04/overlay.c b/drivers/gpu/drm/nouveau/dispnv04/overlay.c index ec444ea..a79514d 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/overlay.c +++ b/drivers/gpu/drm/nouveau/dispnv04/overlay.c @@ -33,7 +33,7 @@ #include "nouveau_connector.h" #include "nouveau_display.h" #include "nvreg.h" - +#include "disp.h" struct nouveau_plane { struct drm_plane base;