From patchwork Fri Apr 16 14:36:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422524 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447833jaf; Fri, 16 Apr 2021 07:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR3OSHXbLPI9gx6IueH7JLA5QouTnCFpKYaqSQ1ebzWvIf2IHj0tKtT7n9eRasMKOV9hkq X-Received: by 2002:a17:902:d507:b029:ea:ac65:b98e with SMTP id b7-20020a170902d507b02900eaac65b98emr10074309plg.56.1618583898802; Fri, 16 Apr 2021 07:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583898; cv=none; d=google.com; s=arc-20160816; b=vdik2o9e4osYtH3Su7BcPH1aLpXwqARJDLW8e1GqE5gKBTqb9j7HTIX1o8Sl930mkH Gk3iaxKJtGvvl1Ozp3G1L/wW19ZAu0hXOJQoMySYSkOb8uVGGBRQh3RIepJxTbW2Zbdw TaYNuwQrhDvCyx0chQejLtQ5S8dYGpL0YMxcvyKU3k/qPH13VSBT+cH5Frn05nlQkTDK peH3veEu3v1HHUGxU2bdZLwC4/taL27TUcV6wDq2gb6Yv2/kG//ptDElX/dbB/yeMZcg XlV0b/c22M1smh20G8gfEl7hRZuDGkw1Bns/9gFg8iKLgfGlHdBtewKrG+OycUWxY15y /Jww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Lz2cFYgCDrMhQspSAMwZ22O3K40Eor5TLXfR8wLjKKg=; b=v3uATjPPUjsxNc1kzD6HxkgIAKQKN8+30Irr47tKm+awb/w9B5RcK3jSLfK2NIbLDZ iT6o7yjs+locFomW8fd53TkBLJML8mIoxd2+VZwDBHcEdhQm+MJyocX8zlTVvvTraC50 8sb38U15vF5rqgsroB5A8HIXF+A/uRayFDBa2TOnoL3ZXbmSMZF4fqwMUoesc2ZCF6og dy8smqID4JpNOun++/Qewc2x/CvCpsE2hEKCOr0x62O978gg5nDqIZ1HZfqqL2gTopSc rvx/94lZWYxMrNVFEMURAlIEb9AvQnPVPCWlRducVTuE+eVpshJ/P138KC3O9RP1Wa5D ZnUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GVXZ4RlJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m186si6796458pfb.145.2021.04.16.07.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GVXZ4RlJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B29CA6EC12; Fri, 16 Apr 2021 14:37:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8DB0D6EC0A for ; Fri, 16 Apr 2021 14:37:45 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id f8so32555906edd.11 for ; Fri, 16 Apr 2021 07:37:45 -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 :mime-version:content-transfer-encoding; bh=aDdT4/+XKsblVJiSEV/Ng5U9nFlFYwJI7t0KAgT17Jc=; b=GVXZ4RlJwFsNGButwNcLJWso5eM3oO2t1LugQa1WxR7somr6EYngKqt9MGvUfV0Z8W spo/YFrOR3/L+OL4pExz+ObuFTvVaxlIwmaIYA6w3hQK7rnf1tuA96FZQMF6en7epBdG HpQumRcb3VUt6TsG4HUTHHw6OwUnu9wtDWEl1lVrgbbd9I1wJZ7j2BCeaLZvHtCd21MF QcxYTguRaX2CL4McdxAzZ7TpfuM1e86es6aqUz0ESVv2F9jwl8aBqiuJlQKp9418pQBZ xWyM1V3MfTcLYKsGQMcnArnMB8vwHKUbkBPB5DwJKigdjWREp1b/yeg+2tt1gZBQWZSs cuVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aDdT4/+XKsblVJiSEV/Ng5U9nFlFYwJI7t0KAgT17Jc=; b=ZndHp2DNA13ECCdXmzRkEWgHhjJN3DaQ+sOfVtQvWKrHxoFVesT/WZQnHL5vW7XfGQ Sc/ATxf2pBH/ovcjw6p/78/kBYlcF5Tg/NPRdFYB1eCDo6lSU91cdlmshaZ2jHx1WAvd bQCy6f4W1OW9Y85j3JXn1fNNhdXAPXdh8FhstByCzFyFy7+yX5vUGKQV7Ni6VkvaQOuy Vx3ofUk9InSr3AOaAnhnuLTC4n6NelUx+MDBK7YrAegJP5H1C8tcXjoqsd8cukBIvFdT 6J4tfci1PnJB9YUt+1HlKgDaBGvzOF2uANp95V6s1JhNiSV60Gb8jUBzv5dOLYaQ9FgB bB2w== X-Gm-Message-State: AOAM532wx9JhqzR+3VgLg7SwC2ABGPiPc5A0DEEotShVQSklNFZBqLpw mv/iVffK1ZhussspJQfa6cziXw== X-Received: by 2002:a05:6402:27d3:: with SMTP id c19mr10448067ede.129.1618583864278; Fri, 16 Apr 2021 07:37:44 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:43 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/40] drm/nouveau/dispnv50/disp: Include header containing our prototypes Date: Fri, 16 Apr 2021 15:36:58 +0100 Message-Id: <20210416143725.2769053-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:2599:1: warning: no previous prototype for ‘nv50_display_create’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 351f954989530..4905ed584ff48 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -68,6 +68,8 @@ #include +#include "nv50_display.h" + /****************************************************************************** * EVO channel *****************************************************************************/