Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8479007ybl; Thu, 16 Jan 2020 17:41:39 -0800 (PST) X-Google-Smtp-Source: APXvYqx5DYwPuqgVw5HPrSXjNB2CKbbh+1UJMXvCNUx8yzLGhOUxuATtsct9+qqR6bKl55tVs19R X-Received: by 2002:aca:f242:: with SMTP id q63mr1743847oih.72.1579225299130; Thu, 16 Jan 2020 17:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579225299; cv=none; d=google.com; s=arc-20160816; b=DUBKTydVW0VYFYCE/gQRLOGljVjN+TYwFRNyZVSkrixNnJPQqB9ea9uPwYVEcCy7gv DUFgIiNdeHtJ8eB73l6UqNCt1BjVHuK2DBiSZrKBVvXCv59P9ElMg3ZHGaIYiDI5NA0A OqFn0ahlXhnYp9Cy1RNOSM7UJAulnXzRmccJP3DjQGkFeT6/Gq920hqj7WTH2OaATcSm TSUqRuYfx70W99+yhN9py2spzQ/1ZA4Yq1Jss/jLsuqFAkyri6Df/erbi2vs4D27gPXX K8ZB0U+H2hMT1bIDAus5mxAvKz/LvrCjnic8x4VWeaS49nA44vTIHFK/fPRNdmlxVKG0 w7AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PFfrtlrxypAni/+g7PVh4B1CTgOl7JNGnJclIJzRQ0g=; b=K3VhdVsmcVdfXPNfehubMxIVobGQPavqiISqGvDi2WyhmsqJ6l37IdSap9ghjYyi93 gEFfqFHC0Ki+1hQ1k8VAS/8b4uHlKG8Ht04azxLEbSQXx96H8Diwk4jjHGFKIw6gui4y VChZvYxo2x87tzdPM2wNiXFpoMOp5GZoYREwyuK0SaX35eUuQ0NBl2l5gle7rjadOuYs 0qzDUwKWhKOMe7D3ftoNiK+VJWp21+myTXC41LMjSz6nWACVTRTJJE/eYpIkaTaWtD97 jVwBzmNFBALpZd9Bn6rGuss/wVtKV1n9LWHDKOSawU6cqKUJqSNa4ypgk+0+v/uTSXi8 QYHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LZCKWibr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n137si12291980oig.127.2020.01.16.17.41.26; Thu, 16 Jan 2020 17:41:39 -0800 (PST) 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=@kernel.org header.s=default header.b=LZCKWibr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389700AbgAPX1h (ORCPT + 99 others); Thu, 16 Jan 2020 18:27:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:59398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390190AbgAPX1b (ORCPT ); Thu, 16 Jan 2020 18:27:31 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D15ED20684; Thu, 16 Jan 2020 23:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217250; bh=bfIGJ+MzNic2R6MQU04yvtS9AYnzU9GwJyidIlkxefY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LZCKWibroajxeMmJkorue8AUHoCOeExf5/WG88sB+/Nrmh8j62sSJNGzRAx9+OUQi 7lgMJ8rkuCha74BOAb0EFnuXwyZaDjCZL22Iw0euwhsLeKHbUKJ0eJZFFoxm6WmDDs NS3T5xrW9xb82TCSSlC/yu2nqYQya0sqbR+imU/A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Ben Dooks (Codethink)" , Liviu Dudau , Sasha Levin Subject: [PATCH 5.4 191/203] drm/arm/mali: make malidp_mw_connector_helper_funcs static Date: Fri, 17 Jan 2020 00:18:28 +0100 Message-Id: <20200116231800.940245236@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ben Dooks (Codethink) [ Upstream commit ac2917b01992c098b8d4e6837115e3ca347fdd90 ] The malidp_mw_connector_helper_funcs is not referenced by name outside of the file it is in, so make it static to avoid the following warning: drivers/gpu/drm/arm/malidp_mw.c:59:41: warning: symbol 'malidp_mw_connector_helper_funcs' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) Signed-off-by: Liviu Dudau Link: https://patchwork.freedesktop.org/patch/msgid/20191217115309.2133503-1-ben.dooks@codethink.co.uk Signed-off-by: Sasha Levin --- drivers/gpu/drm/arm/malidp_mw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/malidp_mw.c b/drivers/gpu/drm/arm/malidp_mw.c index 875a3a9eabfa..7d0e7b031e44 100644 --- a/drivers/gpu/drm/arm/malidp_mw.c +++ b/drivers/gpu/drm/arm/malidp_mw.c @@ -56,7 +56,7 @@ malidp_mw_connector_mode_valid(struct drm_connector *connector, return MODE_OK; } -const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = { +static const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = { .get_modes = malidp_mw_connector_get_modes, .mode_valid = malidp_mw_connector_mode_valid, }; -- 2.20.1