Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3539125ybg; Fri, 25 Oct 2019 05:45:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrFsH/qUrEOFqkG20ZCdGgSMvp1e5QAaL2wfDLPsPrOWPShrwB/ontkCatD+umeqhQlz0g X-Received: by 2002:a17:906:2989:: with SMTP id x9mr3253870eje.318.1572007546264; Fri, 25 Oct 2019 05:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572007546; cv=none; d=google.com; s=arc-20160816; b=ygt5EvLjwj/+TTadfu75hXVLziGT/po3Fk3lyepWzmmVEwhhgsOdOy4I/jUxTAUDOY kfJQ/uCga9QnozW278i1A6Hr0rn4+In/Vb16e7Y6Gtvbq3qpofZ0/fzTaz3TytvQNuS6 VDQiP2QNWIWAsfmFooVo+dDPEJz/79IcjyJyHrx08XoCExjfXuBul2pER2LTGE7bXBCL pNMZjND9UEcAYQ6hK0tcAjaLaNNVz2asfHMnBl3da3GNNt2m3SLQvq5/dFZbgcgjUB1W 0D4HAnQRbbZoKqPVoX4MO6sq1jhzejLybNblGOuy5hguqpIi5HBPp74G6EMnLFasQGQJ bzAg== 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=e4unXQrH2SZZ3ndUESYihdw/1q75G+nLM3e9LpqthRM=; b=OGiC2PpzUCwnn5cRJCywZOoLuYfABhEWmVw9NUoWxnaEGMheaN8TBflGvvPLgBwjTH 8qXyexozg9X7hWQIxzHG1/WA7UC9x9DcCw8Q6V7h0a7C11QJzoQyM7vQj/fC6SjnPYuu BtjExkKGAvMI4I5Jqdx7Bo/VjkH7BzeF8Q1Mp7wMde3FrYWXKt8JMr6nztwLZ427zjJ3 n6fce+C/QNfH8w815rY9bz29bwWhNDRJpTAnzWZZ3IhFyUIRFmctSh+Mpf4+nwpAHoc7 bNnDSaECsX8pgrMhaQn2OUzYRY5t78PviQZaD/ZT4Xe9YBawn31BUiUaxhNfnJtYMaMO 5ILQ== 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 n6si1177638ejj.232.2019.10.25.05.45.21; Fri, 25 Oct 2019 05:45:46 -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 S2439666AbfJXMTV (ORCPT + 99 others); Thu, 24 Oct 2019 08:19:21 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4758 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726393AbfJXMTV (ORCPT ); Thu, 24 Oct 2019 08:19:21 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id F20CA354FB6E68393ECA; Thu, 24 Oct 2019 20:19:15 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Thu, 24 Oct 2019 20:19:07 +0800 From: zhong jiang To: , , CC: , , , , Subject: [PATCH] ASoC: rt5677: Make rt5677_spi_pcm_page static Date: Thu, 24 Oct 2019 20:15:19 +0800 Message-ID: <1571919319-4205-1-git-send-email-zhongjiang@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GCC complains the following warning. sound/soc/codecs/rt5677-spi.c:365:13: warning: symbol 'rt5677_spi_pcm_page' was not declared. Should it be static? Signed-off-by: zhong jiang --- sound/soc/codecs/rt5677-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index 36c02d2..b412371 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -362,7 +362,7 @@ static void rt5677_spi_copy_work(struct work_struct *work) mutex_unlock(&rt5677_dsp->dma_lock); } -struct page *rt5677_spi_pcm_page( +static struct page *rt5677_spi_pcm_page( struct snd_soc_component *component, struct snd_pcm_substream *substream, unsigned long offset) -- 1.7.12.4