From patchwork Mon Aug 29 11:15:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 74893 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1576096qga; Mon, 29 Aug 2016 04:16:14 -0700 (PDT) X-Received: by 10.98.134.77 with SMTP id x74mr31623814pfd.21.1472469374666; Mon, 29 Aug 2016 04:16:14 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wi6si38786603pab.81.2016.08.29.04.16.14; Mon, 29 Aug 2016 04:16:14 -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 S1757297AbcH2LQM (ORCPT + 27 others); Mon, 29 Aug 2016 07:16:12 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:35189 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756636AbcH2LQL (ORCPT ); Mon, 29 Aug 2016 07:16:11 -0400 Received: by mail-pf0-f173.google.com with SMTP id x72so51268541pfd.2 for ; Mon, 29 Aug 2016 04:16:10 -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=s0jt4oRsieYMi7xzSGRtZQ4dFqUlGwxfJiGNw+B1DFE=; b=R/HSMCZ826yLuIxEe92bDC7uXdnDItaIU2VqOJKUkmTOOhYABokIMi5PAqRSEmka8K a4YFUaUr+aX9/IZ7ST634adm3EPt4VUIsG0b/bPj9s5UhetPs6TDGCZiMQfZTQwennLm VSO0PBi5R/RbqmDWB3ZHT/uXgvgM95Y0Ybu/8= 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=s0jt4oRsieYMi7xzSGRtZQ4dFqUlGwxfJiGNw+B1DFE=; b=EH+yOrO7yukSecLLndDJpK0X77h9klCoKraOLlLYdvLtMDCa09j/7VjLp+s5zIbwz7 RfVM4gBzU5raory2UOVgXMzi9NlFQkZ/noZwQLNpNOU5b8bflWZzS0bI3tIW3pWNXX/P yfY+m0CRCYuDnu3gjy9etk6FZA7+Qn9HsUCw4/nPRoTwaNFAJBGE6t4B1TamTg8vlMnb Vc2TOIULRmcIu6bcUNtVcy1bH3FB4KWPGA/7oKxrDjXWSM1dIB/15WecDTCGNYvrXb65 nDN+IKHGcgVFx1PXqSO1z6InrBWElgxMO01f9eU1rtTjARyqiRYP+zvulqpHKje8W9Bx zA2A== X-Gm-Message-State: AE9vXwMyh26YAMYPYb0crVYLDFYctuDj/TpCLUiiUY8UQUW9LJgM6d18TJ6aMEoU5ASz5pcw X-Received: by 10.98.75.65 with SMTP id y62mr31541458pfa.99.1472469370502; Mon, 29 Aug 2016 04:16:10 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.36]) by smtp.gmail.com with ESMTPSA id ve9sm48676526pac.12.2016.08.29.04.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 04:16:09 -0700 (PDT) From: Baoyou Xie To: bskeggs@redhat.com, airlied@linux.ie 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 Subject: [PATCH v2] drm/nouveau: add missing header dependencies Date: Mon, 29 Aug 2016 19:15:37 +0800 Message-Id: <1472469337-13358-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning when build 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 disp.h, so this patch add 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;