Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp638884ybz; Sat, 25 Apr 2020 01:02:59 -0700 (PDT) X-Google-Smtp-Source: APiQypL9QSlxZTOytUPYYXU0Rl5Xg8RdzHdf4ggpWspINt4ZNO2hV31ehQKqpAI9HfYjpqrekHbS X-Received: by 2002:a50:8e01:: with SMTP id 1mr10506487edw.26.1587801779469; Sat, 25 Apr 2020 01:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587801779; cv=none; d=google.com; s=arc-20160816; b=i+cg8lRHGMwSorVUaNhhqS4+4Kiz8m8y7PpkPLoaq5xyaKJdV+pH/3iW3iGafYXeu+ xJElhlrTieVD4WR7oJ8vw11hBIgaYt4X1xQ0YtQl/BPGSNlwsU3S7m2WkmNynouwpE60 MYzh790URkfSrCDoN/mYRrVTMNVqksZ6uk2bmxX2/mvWKEK0Jiz6EYvmBFX7iO6PwsbM 3GQtzmDADxoYLS8EELl+sAStq5zm/pFzc2bHnnNO5U2FBhlU9+x2AucnIx1RK1P9e+/M V9ugPYskTTAp3S8sx9Nd86hmYcCYfJz7nXMyifKFDPeoprXHbb9HhFiikj58buMErDRi VfOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UgJhqIHiH61dhxDTboT3+4eh/poFO4tiQi3p57smq6Y=; b=NBHv1g1LzYFjrCVOY+ccRPQBOlnMnLYGCTvtfqXFUj54Gsc6Qt9OJiCtOr4n4+6MIf gasDK8ZFI59XpaNpEi26W12fAu2GjCX78AudSLXzwt63J5QvSXv2UQFvZuHNBZ0e/5VO vzPc4c2LhJrZX/JxmCdmuXFptP3T3+mtT4xXsaNJWhKGkzx9eEkU15d8RhI8kIOnr5dl zx8RI3PbAT1oR1ALQgK9p1+oZochhNAJxdHYJTpidncwrznDIIGesBWR4Y91Peui5YUR UBY/8OVBuepzPLLQ7pQnsNkPKQg2KlXdzZmdcl04Usxd65VsrUSXI4DL1MpoSrikXCcw fc6g== 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 cb8si4616281ejb.96.2020.04.25.01.02.36; Sat, 25 Apr 2020 01:02:59 -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 S1726107AbgDYIBR (ORCPT + 99 others); Sat, 25 Apr 2020 04:01:17 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:40186 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725837AbgDYIBR (ORCPT ); Sat, 25 Apr 2020 04:01:17 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 42F0316A7F9B8A4F58D8; Sat, 25 Apr 2020 16:01:12 +0800 (CST) Received: from huawei.com (10.67.174.156) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Sat, 25 Apr 2020 16:01:03 +0800 From: ChenTao To: , , , CC: , , , , , Subject: [PATCH] soc: imx8m: Make imx8m_dsp_ops static Date: Sat, 25 Apr 2020 16:00:26 +0800 Message-ID: <20200425080026.143127-1-chentao107@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.156] 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 warning: sound/soc/sof/imx/imx8m.c:95:20: warning: symbol 'imx8m_dsp_ops' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: ChenTao --- sound/soc/sof/imx/imx8m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c index 07451ba4efae..1a5b0f9ebac1 100644 --- a/sound/soc/sof/imx/imx8m.c +++ b/sound/soc/sof/imx/imx8m.c @@ -92,7 +92,7 @@ static void imx8m_dsp_handle_request(struct imx_dsp_ipc *ipc) snd_sof_ipc_msgs_rx(priv->sdev); } -struct imx_dsp_ops imx8m_dsp_ops = { +static struct imx_dsp_ops imx8m_dsp_ops = { .handle_reply = imx8m_dsp_handle_reply, .handle_request = imx8m_dsp_handle_request, }; -- 2.22.0