From patchwork Thu Nov 12 19:00:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324236 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589207ils; Thu, 12 Nov 2020 11:01:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+IqK7ao6jQllL1uXbY1f7EVpXCXmIn/cjjHLToUz2iu4FAXn0x+XphlOySJ0Dp+xqgUd4 X-Received: by 2002:a63:cb51:: with SMTP id m17mr729493pgi.337.1605207689031; Thu, 12 Nov 2020 11:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207689; cv=none; d=google.com; s=arc-20160816; b=QBPHssXDKp3G8sTQXNTROb1L3wLXpEfWch3IH1s9jMhA7NjgsjyMHumkrDl8SoU09j 88aZT3N/0Day7kbRrvaSbaxu4Ph3+71+crSyy4GFV7WHcQKzQazUaBwkUv7i4cBIjtLG s9XRdodU06/tBY0/S7ypiNBuDr7JmgmyKKXhrFkI0YjlLAw2Ka/FhbfukVVLtbAHta3Z 830rNJnMhut37qDCqOuWXDWyzuW+rG7QuKT16khmkyabF+Drpo/eBG605+JDo1DQNnyM DPnqZ5pVMOrPY2RnBMPJAfrKqzKu5PqTeHp+oTOPvmoi1sS1ET6QyDXEDQO9UO1wsOcA yjWA== 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=76NXx6dJFZE53X1tfW/k7xAgGg52+T1prgS3bi7yCik=; b=YRSxCjpE0xiwYE4aStup4zUk/QP04l5pMqbMgwtVos6qIiilB5KpO+/C+lMRq3Uldt 6uBBM/hctB6MLIpn7Sv6D8ADwt4f5J9po62rUMprS7PC8CqC9j81kX94uiYAywRcg7ts j/hxiJr84Rxsjwcmp2FJYPDbNsWWLGy2Sd5+/6pD8wv6Nzra721jm4SfpznAnYBTGp1F Uup6ycUiFRi6DQDPTSlBzlZ0HYKIsa/W6ZlUamz6mH/t1eoiOVd5dS2JoLUkdoaveQ8D QiAdc5tBdA1b5vPd0LpVrZpMV8Ymt2GmDuRgCYVxqeiXmgXDWu+mOY6mqM8zKJzWbTaV 6KOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=wZ6DK6QT; 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 j33si5533246pgm.30.2020.11.12.11.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:29 -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=wZ6DK6QT; 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 85F346E3C6; Thu, 12 Nov 2020 19:01:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id D99276E3CE for ; Thu, 12 Nov 2020 19:01:20 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so7171644wrx.5 for ; Thu, 12 Nov 2020 11:01:20 -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=GSQeWTdjtKHE/snC/M+vXh/C2LESCnHy86BMb0+s4p4=; b=wZ6DK6QT/0jgXl86gYHoNbMa2HFabOJWNjlDe3eubw/4ODuekBAeMhKInFvqDGoeVA 9GMpX6S8jUDnsdPAmyqUBDezSM3GZecQrtoX28rTAEB59O4wK8at1IfmwWuHOoDor4M0 HMyq4J4Jh4Qi/F2xnEMmUJa1cB5WVuzgp+dIq00AYW3uz03TwSkMqLb/Xu9CY6aTfKHh VJkHxIOKy2+LjQXf+9F35I2U0uPVSRD/8pg33OAk1QvuCLBlk2VxvVp4jBRBk4HNAvGG xMPHmsyRLBbEAQUMNVH6Y2Z/M8LKSkU8wv7uaIrjjFsSYzHNCNtYLxWg+iOViFQkQLEx jnyQ== 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=GSQeWTdjtKHE/snC/M+vXh/C2LESCnHy86BMb0+s4p4=; b=S/3YsHexTqwF9Dv1gzplp4+zTVaZvfxm436OHWeYyoVk88Pxe/ghVK608O53EVIFCB vhK+zc1uASocRXZ/32yzS3Z279lS4yTKu5Lq3301FpeFM7IEUTNNPhbrDyNng42ZMyF4 yLY9hL57rzCCEyIYZ5NBVuu3pWKZhxOkFIRcZG3sQ5UjkuYf7q8p4eQzufdzHcP33r1J qr4PsY5Lp3TXT8Pz2EykaeZSeuGgA+VMJx92M6DDq3VE82YAb4MWN2FDnAJ1BqSdlH7c EQn4WqXvvcYFMMR/OkwWNtxdZNPVxG8tv9w0lNsnrltiXl6TRDcvjVgVzirHFOjakc0z mJcQ== X-Gm-Message-State: AOAM5339oS5m/hkDGvA+RtnFyAN1wGy0E84GYqOeugl1F9wCrwmrXnvU +nUxEJXzT8xA5Nhb1bkQVJUlRw== X-Received: by 2002:adf:eeca:: with SMTP id a10mr1095430wrp.186.1605207679555; Thu, 12 Nov 2020 11:01:19 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/30] drm/atmel-hlcdc/atmel_hlcdc_plane: Staticise local function 'atmel_hlcdc_plane_setup_scaler()' Date: Thu, 12 Nov 2020 19:00:25 +0000 Message-Id: <20201112190039.2785914-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Alexandre Belloni , Boris Brezillon , David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes] Cc: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c index 40800ec5700a8..2d502d23ab12d 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c @@ -280,8 +280,8 @@ atmel_hlcdc_plane_scaler_set_phicoeff(struct atmel_hlcdc_plane *plane, coeff_tab[i]); } -void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, - struct atmel_hlcdc_plane_state *state) +static void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, + struct atmel_hlcdc_plane_state *state) { const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; u32 xfactor, yfactor;