Message ID | 20250317072413.88971-3-venkataprasad.potturu@amd.com |
---|---|
State | Accepted |
Commit | 77ad261ecc4aa1b09bc98b32cdbfadb5e92197b7 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F33E4C282EC for <alsa-devel@archiver.kernel.org>; Mon, 17 Mar 2025 07:25:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4A7236037A; Mon, 17 Mar 2025 08:25:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4A7236037A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1742196350; bh=s5oamb6a2qmfpjMpAPuFgUrH5vberIukY87Q6gKzRrM=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=fBqJ555GtL38OaDDbi/pK/0uGg9UYKa0HqDFt2dKPIMhwH0Xe+oaPFn5qlXSB5tx5 eZsvxmktKomrXpGe2cBdKNT5rUji+kI662s1C4E/tWNTiNxh+CGBc0OEwlsvUFz6SU 74/8ZvH3wLYKMVg9SGXyHiR2urSvjWvOhH8S65ro= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3D07F80608; Mon, 17 Mar 2025 08:24:47 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B7957F8060F; Mon, 17 Mar 2025 08:24:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8FC77F805F8; Mon, 17 Mar 2025 08:24:42 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2060e.outbound.protection.outlook.com [IPv6:2a01:111:f403:2414::60e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C558BF805F5 for <alsa-devel@alsa-project.org>; Mon, 17 Mar 2025 08:24:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C558BF805F5 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=p/CUoNVB ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TrzP87WLUgyhZ4EO8Z0lmMDwS5cLzTpRsFZF0nlWX5lXspldEyAuQgRij0CY15CISIyOXr0IfPFQk7abyTL+4iabdNboD5h4ThGRbhle3um8zeYcd14847IkK+0nGZvOTBSlyIPpErUZPqzVVC7Ag3c+JYeQAnWXHTQ+bOFc5JuDQhgHM+ROG57HK+eqrGoa41iyFQiR6ph+dWt6Etbf3pMBBWGPgir/rcUYsInCho7s9ywvxmuF9xdGfvCkzwdUs26kNvvsdRYs2sB+74ZrbC1g66Pf4DznFmuM01r3wpqVCQdrhBtkp9K2OYcM0C26KRDkIGJsm8TCfb1rbxl85Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ggqSQm2k6sUoN56arrnjYVBjyLse4rBrlSmLhyqOgnw=; b=FZnZKlr3WXP9KEXkSyzQDHNiGgej9abGg33K7m9VM51+YP4PggmbE1VcAFwGKbeV0G9eo92wTtHV53VNRAM2H2esPwvpJVxHMrN1Pmi9tRnNdxX9cuOeU3zTHQNzeui2QCnZK1pm61+GiXnwkyESSXhp7oqeCdzeDBJN/7vpRR7/xRyG1bAtZ9RXBw/EC1L5+wZXezo1bW/LJh9/3OiYz/j/2aazZrgwG7u2pCSYfyp+If0UHBLcGWP1Rbqj3coRFr0/wSbI18d5yGn3DaHSOFOJSW9fuBhrGrKrrENh9KOymKRe2XYbe4IITeW+j7EOaDwAjlx9bUsGlhZ7Wo1bBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ggqSQm2k6sUoN56arrnjYVBjyLse4rBrlSmLhyqOgnw=; b=p/CUoNVBaitlDgdqNBpDZjSAARZ4mZBv9vCK9AxJmAt0F2YRAYlCUml2kSauYaOcqM0xD+XfJPS7S36AVFAJRScrEApeWiWLX2hFBqcJB50xRtSP69Sst8jjDzlqgqpdZXcKloHR0troegjvaoIYbsGpPLxLKTIe0265ciAugRU= Received: from BYAPR05CA0003.namprd05.prod.outlook.com (2603:10b6:a03:c0::16) by PH7PR12MB7380.namprd12.prod.outlook.com (2603:10b6:510:20f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Mon, 17 Mar 2025 07:24:34 +0000 Received: from SJ1PEPF00002323.namprd03.prod.outlook.com (2603:10b6:a03:c0:cafe::af) by BYAPR05CA0003.outlook.office365.com (2603:10b6:a03:c0::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.31 via Frontend Transport; Mon, 17 Mar 2025 07:24:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SJ1PEPF00002323.mail.protection.outlook.com (10.167.242.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8534.20 via Frontend Transport; Mon, 17 Mar 2025 07:24:34 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 17 Mar 2025 02:24:31 -0500 Received: from prasad-lnx-mach.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 17 Mar 2025 02:24:27 -0500 From: Venkata Prasad Potturu <venkataprasad.potturu@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org> CC: <Vijendar.Mukunda@amd.com>, <mario.limonciello@amd.com>, <Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>, <syed.sabakareem@amd.com>, <nathan@kernel.org>, Venkata Prasad Potturu <venkataprasad.potturu@amd.com>, kernel test robot <lkp@intel.com>, "Liam Girdwood" <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, "Takashi Iwai" <tiwai@suse.com>, Greg KH <gregkh@linuxfoundation.org>, Peter Zijlstra <peterz@infradead.org>, Jeff Johnson <quic_jjohnson@quicinc.com>, "open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." <linux-sound@vger.kernel.org>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH 3/3] ASoC: amd: acp: Fix acp_common_hw_ops declaration error Date: Mon, 17 Mar 2025 12:54:09 +0530 Message-ID: <20250317072413.88971-3-venkataprasad.potturu@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250317072413.88971-1-venkataprasad.potturu@amd.com> References: <20250317072413.88971-1-venkataprasad.potturu@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Received-SPF: None (SATLEXMB03.amd.com: venkataprasad.potturu@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00002323:EE_|PH7PR12MB7380:EE_ X-MS-Office365-Filtering-Correlation-Id: d0776bef-4b80-4a13-1d8f-08dd6524c482 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: FkEzTDFOBBIc4WLr0h2s0cVsb79C8D67tjN4v9USn/HEg8YptY6DaBHfi64WA4ZxLgeTOjQKAP3P25nSwckZWB+Ja7Pp9gG5xc9y6B4y1CdlIRZYlv51IKUpy8j0Wk28gCnfjYCsCwZYfqkp5F7mvwLss8tqvSc1UMWUj/O174EVkhElHwg7WE+i/TD+6ce1V1UTHv7IXGZSa6nfA0pdXNBr1zN6XCtZYgWemwHmeaQjRzd0AxOH0RXe2naYV05Mg5iFXahOKWBjvQCH8BWEsXieVNez2Nz8dsByaWrhEfIm4yWtDivfmyH4i6Z1I4mRNF0iUuD8AMHsU/1ufPVBP7xUxZG91DYvuOoIzxqX5PSvcmAiWAt9p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ipviU72bLhBZHZZTEdERnfx58kw5gF5yNlxJc5UYSZCgydSrx9cA+bwhIf1Urqx8Crc69IJl0Og0s= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(7416014)(376014)(82310400026)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2025 07:24:34.5161 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0776bef-4b80-4a13-1d8f-08dd6524c482 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00002323.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7380 Message-ID-Hash: UPWBWE6NKVBIODNTG5Y4AD6YPXZZQJA3 X-Message-ID-Hash: UPWBWE6NKVBIODNTG5Y4AD6YPXZZQJA3 X-MailFrom: venkataprasad.potturu@amd.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/UPWBWE6NKVBIODNTG5Y4AD6YPXZZQJA3/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
[1/3] ASoC: amd: acp: Fix snd_soc_acpi_mach id's duplicate symbol error
|
expand
|
diff --git a/sound/soc/amd/acp/acp-legacy-common.c b/sound/soc/amd/acp/acp-legacy-common.c index 5fad6c4a8d86..b4d68484e06d 100644 --- a/sound/soc/amd/acp/acp-legacy-common.c +++ b/sound/soc/amd/acp/acp-legacy-common.c @@ -67,7 +67,7 @@ struct acp_resource acp70_rsrc = { }; EXPORT_SYMBOL_NS_GPL(acp70_rsrc, "SND_SOC_ACP_COMMON"); -const struct snd_acp_hw_ops acp_common_hw_ops = { +static const struct snd_acp_hw_ops acp_common_hw_ops = { /* ACP hardware initilizations */ .acp_init = acp_init, .acp_deinit = acp_deinit, @@ -77,7 +77,6 @@ const struct snd_acp_hw_ops acp_common_hw_ops = { .en_interrupts = acp_enable_interrupts, .dis_interrupts = acp_disable_interrupts, }; -EXPORT_SYMBOL_NS_GPL(acp_common_hw_ops, "SND_SOC_ACP_COMMON"); irqreturn_t acp_irq_handler(int irq, void *data) {
Fix acp_common_hw_ops declaration error by adding static and remove export symbol. sparse: symbol 'acp_common_hw_ops' was not declared. Should it be static? Fixes: 8ae746fe5104 ("ASoC: amd: acp: Implement acp_common_hw_ops support for acp platforms") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202503141442.iT0LHEMx-lkp@intel.com/ Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com> --- sound/soc/amd/acp/acp-legacy-common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)