Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6828386pxv; Fri, 30 Jul 2021 03:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv1wZVOQjtWupH83K38UkkxDs65Z06z1HqYCqHadVKgDV5zlhaFQearipYXiJD85C3S7U3 X-Received: by 2002:a05:6638:148e:: with SMTP id j14mr1661879jak.136.1627640895083; Fri, 30 Jul 2021 03:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627640895; cv=none; d=google.com; s=arc-20160816; b=UK+SWK5/Nf5I2tQRSWa9OAB8CJCFmbyVQGn6V8n1jIFOWczaP5Gqb/q6HvFoRTVAV6 Hom/5y9VLiFYLWWWJjqK/WI92Sj3FWNMDLiktsl2T0AIs3Tn5TnMI8QQbzDmb0wdQmzQ mMZ25B5GB9RyfaTehF39ja09WieNnOkr/9qe+esunViTfxUtetbAJV72rJmCJ4HdnaqP FkwKzH2g+O/vFNpTQ23PtfAdQDGUQoN7rOHwcnl01T0qB4er6wrj0Y7zI16JjxYXdUG3 w6ehbRhZ+iWMkFnfcbIsVkAm4RI4AZ+uSR/tRWsDfbQ+jscGVdo7jZkQza75Mx21Dchs nJHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=kJ/jmO1bOl/Of8Gc2c+I7/J9PuGvR4wCtV3cZxp7bsI=; b=DABJ9MG2y0BgBLzqd8Dks0eBlBSDi1SUzOuULEUQQn/qzMymAV96mqc/DxE4xp4Krr Xrtf+d4BOEntfa79E8t/EPq8gh1kj59P4/YGt9QseBF0iMM9+OX3hDogn6AyACkn7iPx efcCu2tTuPN7PNzIQW90XR3j2G3MM6baQy5K9dheghXtZttL+CLkFGbkKzuPlbAZdKrl njhTEfrPcNNJEQTyizY8J3ZBGK8BXSnb1ktJLiYpdK7p8uBZNHlHmOmWtclhNR40bUXv vf/qeABoW2h23sCWg2BFXvaLWRXKytCZjHEOIqt5+PrxMwJ8WbsxLQEv2AEVfV182fFj ou/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si1553505jar.33.2021.07.30.03.28.03; Fri, 30 Jul 2021 03:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238461AbhG3K0r (ORCPT + 99 others); Fri, 30 Jul 2021 06:26:47 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:52228 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238274AbhG3K0q (ORCPT ); Fri, 30 Jul 2021 06:26:46 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0UhR-l2X_1627640797; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UhR-l2X_1627640797) by smtp.aliyun-inc.com(127.0.0.1); Fri, 30 Jul 2021 18:26:40 +0800 From: Jiapeng Chong To: emma@anholt.net Cc: mripard@kernel.org, airlied@linux.ie, daniel@ffwll.ch, p.zabel@pengutronix.de, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] drm/vc4: hdmi: make vc4_hdmi_codec_pdata static Date: Fri, 30 Jul 2021 18:26:34 +0800 Message-Id: <1627640794-15718-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of vc4_hdmi.c, so marks it static. Fix the following sparse warning: drivers/gpu/drm/vc4/vc4_hdmi.c:1479:25: warning: symbol 'vc4_hdmi_codec_pdata' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index b20530c..ca08b64 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -1476,7 +1476,7 @@ static int vc4_hdmi_audio_get_eld(struct device *dev, void *data, .audio_startup = vc4_hdmi_audio_startup, }; -struct hdmi_codec_pdata vc4_hdmi_codec_pdata = { +static struct hdmi_codec_pdata vc4_hdmi_codec_pdata = { .ops = &vc4_hdmi_codec_ops, .max_i2s_channels = 8, .i2s = 1, -- 1.8.3.1