Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1100126ybi; Fri, 14 Jun 2019 08:37:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxygZhj0VqvFgvIl3YmJfAVxwBljl9UGwf1A9K2ZDSyV5lSEUCQxaeVPZPwMpkjlA0+gqVK X-Received: by 2002:a63:231c:: with SMTP id j28mr35828827pgj.430.1560526651419; Fri, 14 Jun 2019 08:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560526651; cv=none; d=google.com; s=arc-20160816; b=0DvagLyI6L8JtdgKJbjzpwkSaHm4OaE0gDVCOOJY/pfonzSTrnoNP7V0ZHhwGCYIxr BQrBZF78tIAJIGdG5LGJ0aJwpX7B5zXG2NW0V57LlAD4ZFQDkF1rMVJ2sfYB+8uFTS5b Docd+qDzI9wcnkMujFqlHp7bcND3yCXMLYlmk4DvHM9HWfvSvmgrTmXH05XlzADmXK/z i65Wny/jsf7eiFojRdZfQN54IZ0PzgHTk5NGpJL7sK4eKCbXQSUI9a1blqfqIBkYCWVL cT/UBGmTu8YOBLWX3MWDt1jonUbmgtveJepCfXXEG32f9gjREnQAqvhP+JT5Ka3lIort 4gqA== 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=0MzNq280aOQVBP782OP+/8QoH+tQRqIiMXAPdpzZYI8=; b=EohVAn7LCsXdQhc488HAtjqHncOITJR6Ze/k0CwXUYp9+p4p/WoispfNL0msOz9dKn xQhnFkhcJLxQbR5MJbf81WhDDFp4CPlrvQW29/0ogCKbeLdnxjnecYU0aBPoJPUt63NQ 0oayQ/nepWI7tM6gwpkk7sE8q2md+b+xpAAeYM4+3C9a6noKbNqnIxVrBWr/S0L+Jtby qy3b8QnhqWQxmhkuOpsOGNTkJG2SXxvthAuDWd94FsOYPCKFc7dCufMaz8pHx0q+8XJi s6fVoJIGyks52sV2fXnJEBmNWWjJsSpNOBM3226PGmguIX1ZqU5rdSpFfnXT+JI3ritI OU1g== ARC-Authentication-Results: i=1; mx.google.com; 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 g29si2856397pgb.259.2019.06.14.08.37.15; Fri, 14 Jun 2019 08:37:31 -0700 (PDT) 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; 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 S1726766AbfFNPgq (ORCPT + 99 others); Fri, 14 Jun 2019 11:36:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:18610 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725780AbfFNPgq (ORCPT ); Fri, 14 Jun 2019 11:36:46 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CEE5175455AD766310F0; Fri, 14 Jun 2019 23:36:42 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Fri, 14 Jun 2019 23:36:32 +0800 From: YueHaibing To: , , , , CC: , , YueHaibing Subject: [PATCH -next] drm/bridge: sii902x: Make sii902x_audio_digital_mute static Date: Fri, 14 Jun 2019 23:36:23 +0800 Message-ID: <20190614153623.28708-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warning: drivers/gpu/drm/bridge/sii902x.c:665:5: warning: symbol 'sii902x_audio_digital_mute' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/bridge/sii902x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index dd7aa46..c2f97e5 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -662,7 +662,8 @@ static void sii902x_audio_shutdown(struct device *dev, void *data) clk_disable_unprepare(sii902x->audio.mclk); } -int sii902x_audio_digital_mute(struct device *dev, void *data, bool enable) +static int sii902x_audio_digital_mute(struct device *dev, + void *data, bool enable) { struct sii902x *sii902x = dev_get_drvdata(dev); -- 2.7.4