From patchwork Thu Jan 16 23:18:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 233810 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F24D9C33CAF for ; Thu, 16 Jan 2020 23:27:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C63B021582 for ; Thu, 16 Jan 2020 23:27:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217252; bh=bfIGJ+MzNic2R6MQU04yvtS9AYnzU9GwJyidIlkxefY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Kows8EfW1Q1BYKRWd5fnYZhzKJDIYsPBdZoB9koWn49HzhiHuD2DWDwPDdqHmDDYz h4JPFZy6NrYDp4srBD4t1LT97jLRozZNNnMidqz7mDHfHjalEHVfKVDz8spUnltIu4 Tr1QvRX1wUjDK2fgTzSSyfa2FgU7WHlvf76kSLx0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390236AbgAPX1b (ORCPT ); Thu, 16 Jan 2020 18:27:31 -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 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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, };