From patchwork Fri Jan 15 18:12:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363685 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89298jap; Fri, 15 Jan 2021 10:14:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjutR81yjRH+W+/LrByi0ram37uksmbeTo+7gT6uCKu/CB13rSspQS4mf87u9gY2iJVQsn X-Received: by 2002:a17:902:ba89:b029:dd:7fe3:ddf5 with SMTP id k9-20020a170902ba89b02900dd7fe3ddf5mr13780487pls.33.1610734458062; Fri, 15 Jan 2021 10:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734458; cv=none; d=google.com; s=arc-20160816; b=Z+DOGo/aLvyD/y+RNgJKTH5v9y5M+LAnFkD8VE2B6IiA8i1p9XOWEOA+7JXFHCQHoU Xgy5XQILZoygSXuMoACtGRnHVr5VllxXkfsaipEYkx7BBHyucmtnYQ6TiwvDu56sfLtV utKi0YKjjAOM/8ljreKUrvvq3S1fMacppSoAnsG50cH11d4BWYvdt/L15tX1A/Jpf/g9 M3awxfUqDIyMcR2oIw0fw6+8DPu3cz5dDZaCwS3LkTEuvc5JURrZFGsM9HtWRDLXxWyi RMIKlo8HeD6B9ozZrsmAjJsLWKF2/WHz3TXQGLMmOz9XihIMqDNon/rzVgsX+S+kqHsf 4nMQ== 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=LEREHwHiIAHQRM+4htZB1L8PT0oSEE7oYad//bHpTQw=; b=mZlwsQRDwIaEull+Wbc4uOeg16ZkGokzg06txHlUaRPotxe+L8RzX4913LvnP17eJb AeF6nBw/T4lmXPyKaWeafQTAbRRlJRDHUq5EdMcmikmB7DSDM7zjR+/pgJbwBlK8fCvl W8IQcUkqZRW8nHUKhFLRX2dABPNYdYDE1W9vWZjo288LEEFk+Amo2d96m5JMijqYeoG/ zfny5vOFM3Qzc7BiMeXh3eitg3hBweJGJG7bvA9udadocj/LS+hcIDkSxDW2tp8ua4Cz BZNdxN/nGa1zPumnoZvlaHFyat/LCqoNA86lNNQVgAuzIUnoDnXyodvq30x+cRMPtGqH dSDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oO4p2Qt7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v30si10368426pgl.474.2021.01.15.10.14.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oO4p2Qt7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 DE9A36E499; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B0336E487 for ; Fri, 15 Jan 2021 18:13:52 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id a12so10179302wrv.8 for ; Fri, 15 Jan 2021 10:13:52 -0800 (PST) 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=4aoNCmjio9l+rvMx1zGsBoMkbgJVfYu39oKJNZ/3uls=; b=oO4p2Qt7e2zzJjwbtmcEgQslHf38O4Ll5XneLSPcedcp/U955WUp7OBBo6XiOUrCQR 9bHWdzJcJe3/sydkNSJNTJOreeX4oOTwpUTCktEaWWW8sttfSHXciVTMy22hD9F3+Z7u dla+xlHuqn4W6StDx1+0ZvM8+HJevlmInFOs5KwEZ7Rb6VUMPb9aqqL+XHDsjQMlQlMz a0CdfQ38BCdPa9Y/pkBO7Wo2o6ZeA4Opq/q7PR2FSheFdYQdiLgVB44MHFLilMYiYVG9 ZysciPyZ2KEm1ky3FthuachRs994pMprRdfD9QOSZiWP6Eez1kOX5QFHhyk9YwJhmTEl acgQ== 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=4aoNCmjio9l+rvMx1zGsBoMkbgJVfYu39oKJNZ/3uls=; b=jaYjZBklGnsPyLEaGs2v9nzBCIAMZReW+2FdGXj0uwf8WigVCtok/PoS4fLeV0Yeax KkisAgzj6rz3yszG94R/uPKfPbNf9TdFTp1YQmGlp6oXxM2nflocu05iwYUToGC0JAmP 1Lo0l4g8U67ZZQpx7zCBdQ6Ec1MqbMHr1kls3es3LOl74pp3PQYu8BmFg3y1hQD/41jI bhPNYD3HD7o8PIHeXDLdfx/3SnHLfX8Ki2CBHE8vaAfNkphLKqdfvwk10E3suHC1IzvH BnRVU7ubMmxrkQi/ixOWgHOl0HSpx5vkIviu8G6WlvcFxNvFT+qpezMley4XxUsmTLuv 9zpw== X-Gm-Message-State: AOAM531Xd2jLeXRe3oOBlX9JrE90gtjh/bZI+PEjzJc1dk3Xe3kHXDt4 tY6wX2oFlLRoIxBS7y22R+O/33qX5O24yRUf X-Received: by 2002:a5d:4c45:: with SMTP id n5mr14778574wrt.396.1610734431166; Fri, 15 Jan 2021 10:13:51 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/gma500/gma_device: Include our own header containing prototypes Date: Fri, 15 Jan 2021 18:12:55 +0000 Message-Id: <20210115181313.3431493-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-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 , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gma_device.c:10:6: warning: no previous prototype for ‘gma_get_core_freq’ [-Wmissing-prototypes] Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gma_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gma500/gma_device.c b/drivers/gpu/drm/gma500/gma_device.c index cfbeb010ede0d..4c91e86f4b142 100644 --- a/drivers/gpu/drm/gma500/gma_device.c +++ b/drivers/gpu/drm/gma500/gma_device.c @@ -6,6 +6,7 @@ **************************************************************************/ #include "psb_drv.h" +#include "gma_device.h" void gma_get_core_freq(struct drm_device *dev) {