Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1715837rwl; Thu, 5 Jan 2023 18:43:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXtXWevi6/EuvF2c4vrLLLZ8f4UIpuRGGvgVHXwutfz2WDFV7b8mP6h9RRPpbrJAD6E4aWfp X-Received: by 2002:a05:6a21:e28b:b0:b2:4b74:1f85 with SMTP id bz11-20020a056a21e28b00b000b24b741f85mr64375223pzc.16.1672972998642; Thu, 05 Jan 2023 18:43:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672972998; cv=none; d=google.com; s=arc-20160816; b=K4UShgomNuoUWSzVj5Eg9ha9kmYYPlpGsfkd3gYQdLtj1ZSzIfTLR2zYGJEGvwkg6/ mB7rGFE3087kQ82UNqXAJ64HX6kdqIQFRZO0yQWAwK/MWnm6TL1mfina0nm4L8za5xY1 eTkoYE8H/0fC05d6DJfayDCQI8WnCBdJX1AIxh+FdAyzYwvBoIBV+CD6t2yCWJyDLRp8 qJB/WUdKx5h202WHPihPsSyAOmUpSOHZEiAcpYmMfb/rjCTVVUZnjSOyqMJtLHjYnPrs 8tkqZOyvuTHbKC5RIqQTaPfQYqOzJQhRF/pFzu0YUrMV6qFszm22uh7mwohDoCVLnXfx n5yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=P2wfHE2VRI2qkhU+11HvnOQ0sdJbC2wHvIXpa5gIotE=; b=0iUeYaWAczpHhz9BoJJekCF2ugSXSNXRuL5+tCTZT46e4K4By2VPvSKF688u2BMuqa wG7k4Q5C7XwHZbmpdhTvN7W8EvoBNW3JqQ3oioGXJGfh2zVAxxDne8H98VW+w0h1fSU5 ezPRukFIp6obC/lHwKUSYb7sgii4e4kGH+ZSWBYuyODXbi74jzfHS/oizlKUvu6GOnLG wSf/GQ/3ye0tgf+vw6K/f33LkPSQJOFBpNtKjaYSWI6Wois8aoQJcMONRvFNY0vLdf3c WYV5/mTruVFsmkWLgSEtEjB8XUqjKdFzGNjsoCqYLj8G1OfYnG9Xopprcn3v0mxCzyXQ TEdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020a170902d71500b0018905bd4a58si9095156ply.169.2023.01.05.18.43.11; Thu, 05 Jan 2023 18:43:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230194AbjAFCbo (ORCPT + 57 others); Thu, 5 Jan 2023 21:31:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjAFCbl (ORCPT ); Thu, 5 Jan 2023 21:31:41 -0500 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9C153E852 for ; Thu, 5 Jan 2023 18:31:40 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VYxvtnS_1672972279; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VYxvtnS_1672972279) by smtp.aliyun-inc.com; Fri, 06 Jan 2023 10:31:38 +0800 From: Jiapeng Chong To: lgirdwood@gmail.com Cc: broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ASoC: amd: ps: Make acp63_fill_platform_dev_info static Date: Fri, 6 Jan 2023 10:31:16 +0800 Message-Id: <20230106023116.117404-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of pci-ps.c, so marks it static. sound/soc/amd/ps/pci-ps.c:170:6: warning: no previous prototype for ‘acp63_fill_platform_dev_info’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3640 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- sound/soc/amd/ps/pci-ps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 401cfd0036be..570736e1b5e8 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -167,10 +167,10 @@ static void get_acp63_device_config(u32 config, struct pci_dev *pci, } } -void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo, struct device *parent, - struct fwnode_handle *fw_node, char *name, unsigned int id, - const struct resource *res, unsigned int num_res, - const void *data, size_t size_data) +static void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo, + struct device *parent, struct fwnode_handle *fw_node, + char *name, unsigned int id, const struct resource *res, + unsigned int num_res, const void *data, size_t size_data) { pdevinfo->name = name; pdevinfo->id = id; -- 2.20.1.7.g153144c