From patchwork Fri Mar 19 08:24:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 404769 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1171207jai; Fri, 19 Mar 2021 01:25:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweJcYDB3glxC0e6UFBokvmAQ02giBFqaYxyx52VjqD7S73KDIg2/rmLXYUVXUv2bEbRNAo X-Received: by 2002:aa7:8d84:0:b029:1f8:3449:1bc6 with SMTP id i4-20020aa78d840000b02901f834491bc6mr7942659pfr.76.1616142312537; Fri, 19 Mar 2021 01:25:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616142312; cv=none; d=google.com; s=arc-20160816; b=VvgiRYCt5zpURbrl03SBnuDuheB76ebfvr/s3BmRA1dSVfgzgNWDabyFaUG79v3xEx P3tjXbKryZQVJsOvki1GROuwGeQfU55k3Htda/U3S3BBOWsTM3JwqURZelYkIYOWKffo rC5WjffdLM56WH01lvTW1H35LXtNj8b/VRG0krQ528cztFR4SzCu7tKQzMBwQHCnRk1P LCjYYGPPm/AhxdBprag/279yu4/CjLN/8Ru8kK4Kk70G4fRimM6DkxysNN57vZYRYpQ/ irBS12IZ5qGUuJihGIC0AETBCPVKCXIvowdL6VX/azN/mozu+klyl7/qeT/Gcj5P5GOa xnyg== 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=6pgMhqhq1SlL8AMoJa+7Rfz5VfYaIC9gL6n/7otxDDQ=; b=GOcv6mYiQtI3hVSw+6ly6DiV9A7/mXlV1Q0eMpB+gQxP12pfg9N2yvgSLczAmhBFxB 5wQkv/kcJA60UDU1YN7i6DcOMf1HkiOCCBTVqrCgBx947bZfkU+VYUgHdt549gJEslt0 OcbywJ/1RpR4Sxrvx4/ESX16WK1r7W3lRXkJitHRoTxOd1DpkSCTTBrJIMtGNi2e/yrX PP0H4kX/swvxwpVpHOPwyyTzcoObNRBrPHW6zw4eH3hqe4NJbqWYSWmX6nVSLgbgJubi eGeJ+5/RMh7lGlL+gSRjerYZEy4lq1JknfVtwRzSZ4SdywExl3TSoGsBeks7LBTiNapE eo4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J7cBZga0; 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 m12si4738376pgv.186.2021.03.19.01.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 01:25:12 -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=J7cBZga0; 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 37F3F6E9BB; Fri, 19 Mar 2021 08:24:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA2156E9A2 for ; Fri, 19 Mar 2021 08:24:48 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id u9so8276886ejj.7 for ; Fri, 19 Mar 2021 01:24:48 -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=WQfVByDMubjxteIKJEZ6P0NR+Mqv9ZNp4le53NfYrp8=; b=J7cBZga0HMi5iG0MBUZwq+qeZQWVYjaTEHrLyI9EUXYAQUPVTL0uLJnF3hBzdX6FIZ zVDwtYg3IT40ZqvObqkEA8SNak/MrlukLTeG32vP1M96twbR8MtsqufK1UIcwXfHjPnf 2K2NJB8UHPugVxfg2oMC8GzczIRdANNmDdg2XqMK818eM2//X328KiyDO7xyh9o5sT97 AVlqyCAsqbSQExSIbVOBgEbA2EI0WzjnzOjiCajnhzQV+qLA9KIaQ4PwZMgJ2JIrY1fl E9nJBb0VkUxHN0WG8ArEkjbhDPTOX5KTCOPJKYwk5PgIhndI2lYcOv2kun1XLWJgjxjS bn5A== 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=WQfVByDMubjxteIKJEZ6P0NR+Mqv9ZNp4le53NfYrp8=; b=Me2eoNrZRgLU8pYh3DueckTXoslk5YgUbPgOAj+Dxfk9oTu8ekcH9o75E5hZVocAUe 9lMfV5rxD9IpbpLHE+sEq+NFULp2++smTfFvpBCmJColAhCUt/D0D4g0wJCTpIMihfw/ NlhmHsWJLtD51DGDZsxsgyxRl1MiNkcCNvnUp8UiHmC1UMpG5DCn/rbp7ZQECdbfq2MT /HIMgmyJTesWF7OSR2zkaa8NvJkgWGYXtn8vW8p9a6LzvKNIW0/Yn8PcXSqTt6CXnu9H LHXmn+hElFYoI8VreI+72oWegs9QqvK0juInMLYFeMFUSlJHutjEW1XEpAWVsVeNGBEg usPw== X-Gm-Message-State: AOAM530JoOPaXHn9E1NH0NGjdN8mDZv49uF/j81y/Ska2kq63O9mWOBl PSy6YUsMS7KUcyxxtIQkslu/KQ== X-Received: by 2002:a17:906:f88a:: with SMTP id lg10mr3078558ejb.39.1616142287621; Fri, 19 Mar 2021 01:24:47 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id b18sm3273727ejb.77.2021.03.19.01.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 01:24:47 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/19] drm/nouveau/dispnv50/disp: Include header containing our prototypes Date: Fri, 19 Mar 2021 08:24:25 +0000 Message-Id: <20210319082428.3294591-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210319082428.3294591-1-lee.jones@linaro.org> References: <20210319082428.3294591-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 --- 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 828f48d5bdd4e..cd16431422198 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 *****************************************************************************/