Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp371664ybj; Wed, 6 May 2020 20:26:43 -0700 (PDT) X-Google-Smtp-Source: APiQypKv8SR9HAP+JPr9FXGjXsD0Jc8geVLc35d1B8blOdKiZ7FWr4JLk2+jVp8rkAOfrLBJuzMU X-Received: by 2002:a17:906:edb5:: with SMTP id sa21mr10394579ejb.270.1588822002884; Wed, 06 May 2020 20:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588822002; cv=none; d=google.com; s=arc-20160816; b=fd1N8DMG0w5TeJcBfmq7WvWblru62RhQQkC4dyLOHQohlhdrlshCNJAz+FNNQaCQc9 rZQ9LfbLB1UyGO3V0h1UGylqBpVol7CJ/5n7vKCFQDBqDyyZTecufuWWxRXVo0ZUOkIm vM6x5N9AN6vMcoNb6FhmUtF7VitlAZxUG1SCft6sX3lyZV1knJqa9Q7HGeLjGWWJBW8g c8LLEkPNA1dGhPC0X7Tfeixvrt4tAPP7io4VejjBtNvnf8RXSGuB+WSJNi61TVJcYted RW+yj7vrwrNcNbahzkMeC12rx6ioO0BhfrYM8vpRnRugfHzO7FYNhZICaK55bFF/hm5H /HoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=x8EaaWgsDviPAVihxY7oQQAqh1lY8S8sgXb5/3dxBrI=; b=RWoBAQ2zAZ+LnnLdKYfn2AJrX4Lg4Bzy7ejwtjHXowmTqI+fO54c62ez1emqeSzemR LES0EZRtpABu969GIYqn357NNy/lz9YIzRoMWL91tIII6co/mLu0WMSgvFjcg+dmZRpR zuESu2LT8g69oiuoechYUwrGN0KWh9zQQ3I9y+sMcLJEe/aC3qbpsJFn51tnlrkdyxnz 0k+rz6YSV6iwmQX3XWHM7nDUlnbN9MrtRT+rx5bJ4Oq0tr5ydtq3eRS0RSlAnKKBcTNw hlDdUdBDfCEdiv2cDWd6nq8pUg0YkOctTnYLOThZnLFN99+TVb7ks6bq1brA5hCRqqGg ZbyQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si2189851edr.309.2020.05.06.20.26.20; Wed, 06 May 2020 20:26:42 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728277AbgEGCn3 (ORCPT + 99 others); Wed, 6 May 2020 22:43:29 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:55102 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726625AbgEGCn2 (ORCPT ); Wed, 6 May 2020 22:43:28 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 0D9524A2EEAD7A4C5AE1; Thu, 7 May 2020 10:43:26 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Thu, 7 May 2020 10:43:19 +0800 From: Samuel Zou To: , , CC: , , "Samuel Zou" Subject: [PATCH -next] drm/i2c/tda998x: Make tda998x_audio_digital_mute static Date: Thu, 7 May 2020 10:49:28 +0800 Message-ID: <1588819768-11818-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/gpu/drm/i2c/tda998x_drv.c:1136:5: warning: symbol 'tda998x_audio_digital_mute' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- drivers/gpu/drm/i2c/tda998x_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index 3c90d7a..9517f52 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -1133,7 +1133,8 @@ static void tda998x_audio_shutdown(struct device *dev, void *data) mutex_unlock(&priv->audio_mutex); } -int tda998x_audio_digital_mute(struct device *dev, void *data, bool enable) +static int tda998x_audio_digital_mute(struct device *dev, void *data, + bool enable) { struct tda998x_priv *priv = dev_get_drvdata(dev); -- 2.6.2