Received: by 10.192.165.148 with SMTP id m20csp3865908imm; Mon, 7 May 2018 21:50:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+20dt+Hf6OyJuwU/3NRV3gpuFKlD6XZYBzskf9VwYz6i1+XgqH6LhZeR5+3EgXZ4irJMz X-Received: by 2002:a17:902:43:: with SMTP id 61-v6mr40748186pla.112.1525755022354; Mon, 07 May 2018 21:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525755022; cv=none; d=google.com; s=arc-20160816; b=AU7Z3pzL6TADL+Ti5iO0arObWskhGMtTXLj2xA8AClg03AkOxMfODpEFxKunuOpG19 /NqaejwIjXgSFTaAamtUmohDjuHGWe7m9PHhHEsi5c2q2HsxHuqjBMc0eh6RbWDtye2O 9gEhCEObbdXzQtCt5pjJwYpTZPzeiX7L1OkDsm/2bsNaZwvw1jvDUCO3szGL8ltbCxNy U3fgGkkOpQGQDl9Et3zYT59jcdqUEsAbQdEcaQ07CW97M3HmoEFZ/L+dKAXC4pjIccmk cLRTNPHabEUgPX4cQZ3WRqIY7HOlXEpHGhbu9QuJkQJponxdRIvYWYszGIxDMLVIulA+ SZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:from:dkim-signature:arc-authentication-results; bh=LoTc07lBBddnPXQVxeYScg9eKjg16A/c+WeMTVnzDCc=; b=CVcqAWMphWjz733Kd7uPBACH1R5MJ8ncmQIyDbGpPmW9bh7ePPhkx9HgN6h3Y7b6Jf Qa61MpQVX8yYol8rRqfNzose0VY/cxCecyqjjZoVZHP6DuSCfUkST/N+ad2o1FUXzivJ rwxoVIyWQEbL4Q2EgyKvFgqlUEvJ/wKjhb2/OcpK4WXDwJZYJwbe+e3q2kYbCOGaSIk2 qUpSii+7t9EAgFnkcB7eW7Pj1EO1vyBHAu1/AHnHVJj00o6p0KD1QJiHRx2Z8gn0SyTF VFQwq272N8/t18mdJl2j7SIeXAS67e88bi94NT6pb9MijbTBv03VlhahV1IYvoQZmAt3 RUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=1MaDTniM; 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 g3-v6si18527131pgf.498.2018.05.07.21.50.07; Mon, 07 May 2018 21:50:22 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=1MaDTniM; 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 S1754023AbeEHEsS (ORCPT + 99 others); Tue, 8 May 2018 00:48:18 -0400 Received: from mail-by2nam01on0076.outbound.protection.outlook.com ([104.47.34.76]:24637 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753510AbeEHEsQ (ORCPT ); Tue, 8 May 2018 00:48:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LoTc07lBBddnPXQVxeYScg9eKjg16A/c+WeMTVnzDCc=; b=1MaDTniM9XXsk7qY7BpTsuTCtxAG2LQg50FDYtnL2VeVH63ZRnj/i+h1UCBhgXRtZda4jLUciTsWq2PMyxMnv0wRijCB2vKL9s3wqGhoC4ZtjyK3Ua5EqntAByLwx4/eHJddseGi7XYuDPl8Ppjg0lQ9inbiSOtdYSKTxw7a/y4= Received: from DM3PR12CA0056.namprd12.prod.outlook.com (2603:10b6:0:56::24) by SN1PR12MB0336.namprd12.prod.outlook.com (2a01:111:e400:5146::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Tue, 8 May 2018 04:48:14 +0000 Received: from DM3NAM03FT044.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::209) by DM3PR12CA0056.outlook.office365.com (2603:10b6:0:56::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.735.16 via Frontend Transport; Tue, 8 May 2018 04:48:13 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by DM3NAM03FT044.mail.protection.outlook.com (10.152.82.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.735.16 via Frontend Transport; Tue, 8 May 2018 04:48:13 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.382.0; Mon, 7 May 2018 23:48:11 -0500 From: Vijendar Mukunda CC: Akshu Agrawal , Vijendar Mukunda , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Daniel Kurtz , Alex Deucher , Kuninori Morimoto , Wei Yongjun , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: [PATCH 09/10] ASoC: AMD: Add const to snd_soc_ops instances Date: Tue, 8 May 2018 10:17:52 +0530 Message-ID: <1525754888-14124-9-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525754888-14124-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1525754888-14124-1-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(376002)(346002)(39860400002)(39380400002)(2980300002)(428003)(199004)(189003)(51416003)(7696005)(76176011)(77096007)(97736004)(186003)(26005)(106466001)(126002)(68736007)(47776003)(53416004)(2616005)(446003)(5660300001)(11346002)(476003)(426003)(316002)(36756003)(16586007)(486006)(105586002)(54906003)(86362001)(4326008)(109986005)(1671002)(72206003)(53936002)(50466002)(2906002)(39060400002)(104016004)(305945005)(336012)(48376002)(356003)(478600001)(50226002)(6666003)(8936002)(8676002)(81166006)(81156014)(266003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0336;H:SATLEXCHOV02.amd.com;FPR:;SPF:None;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM03FT044;1:cXEpQzBBvbSLgN+8DrSudQpuMqAcgJiloXepHXM+Ed/qMS27Fi/4xAIuDudGy1m371/+ssgtWNO9yRgqCjzQJYodqtn33bi9z23xrZvjnkOuAm9DNOJoaop3DcGTv2HQ X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060);SRVR:SN1PR12MB0336; X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0336;3:NPq6GRZ4wJXzLI/Der0dCDj2eCTGurzOzwcVFFgpXqPO4+oQ9roqwhwoE2fKQ/6MWtw92pQ5sKkvzC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AEhlfGg2v4zzdf+7saxqB9lcNsDs9o9wU186LqQLwg0CSi1BomIQDBgY2fMfCZx5JKjUpP72BuHwo5jyUYQ5E3OSkaA8zWyoh2vLTdVS7PO19dfZZ3yd/LJUAWPDFduW5m8G2yZDWES0J0zX4osGjHgGvsmJNDRANj2q/8+RBZy8xOLLuVuCKmeTvdLATCJsVhYhgquXXQvxRbo4i3RkxI7G/wQqh7WjhuxkAUmcdlUyXkRNOrwEKoxcQO7R+x5BMCkknqQMzqYTas5by+25en5wkunrP/FGhYKtF3VuSN/Hf8E6bnC78m1A9vQSTCAupNhm9FQf6ziArGfkA+LEPx9AjQ0SCHHyrULjGqaESFJpPA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(93006095)(93003095)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:SN1PR12MB0336;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0336; X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0336;4:9DDmh/YZw7rrILMWzITWlJCA0n7U8lrKluAVgSYtgkPEpBjeGxAkZFyxzcWOL07F4YdcqUi/Sp3ib2AaVl8f90JWUAjtzSQwwz50j+hy+myuj1sYWobD8Rp8CXyvNHRpTfrXRRJWaEH7XCSDlCgkerwFfzbPCtMdx6UWlcVFUkVK1JpKuR8+3jgafpt7oQddbHEz6lWA/p8KRJVSQxiNiWB0q6v0IpAcszmNjIzJv8IGMI+aM8Jt13R4HsWp84c5CpwHReN6YJVk9z3aWM1+jKlGRVdfJ3ntoh9IUGVRYFGRpxQEGOhjVqMbyIoofhcD X-Forefront-PRVS: 0666E15D35 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JaZDnRoCh8ZD5mkOGys5ZbRSn8XpCt/xdNQyZ1xnzI7SLhLrsbyF4R411LZBb90r0IbTIW4HNtkPR6SsZTtzE5jdaXTR3SwQNjuPCXwtLo1RCsIVWGJguUTLUaQdwFX5n929bGCm4zko5IrqyD6YJaJvSDG6ohiGoM6GNA==;5:QtkA3mfroRaAYlvgjhjWvwzEGu2+1KXgJ1KNmmUdBR8k+kbM1+SKim0FU3wntwzusPv7M+vODLjp/gMeiG7WfUEUXCH5qpBXComDfzwMw4YepVT5HbhnyY3u34X2tvejDm6ZcsyZsfN23Q6ggHYkaEtVCpRECDzKrFpiGJoanf0=;24:KRaKEB3YUPnTXKs+IeN06voyPsIvM5RiATV1yqhrOIhY9NwQG/4Q7tGrtBRmRlnrHOKERbw4RSNFmtmw25vyAAJwJnNFheZgtyoDulnrG9s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0336;7:40F5qROTVn6X27gQK8IROxeECZS6moDCou0HuKqhKjYkjAHSQKwFnbWUsIVfqdNdhpS6JGooxYrVMYI0r6lKwOnQL3Wsg3PhXG6G6PnJyTx3EUxtER3VCZek0Ydp/N3zy+kBX+aNhrPZ4k8BIYU1bx5bBN81/5aNXhqglaVv69DfQ3SxCX21X+8SejlLqqKHc/VyZuctuMO83xkAsLUWkbyVBPAzWsfhEOF2Qs48CsCQXm3gIETYl1AFd44it7ng;20:bMgTdJG/dqC+2FgLzigokESQ9aElyS0p4uoa1WJH/K8GSHaM1TW2TNvYOJb3TR1GXpF8eVW+h6xOlaN+X9mB93y7l0eGhGjikHsY+rYQO+y3+nAeeyK8BDKU+LtsD/FHw0LCf0zYLHAZ+bbyA1NLvxvHmfVUKT8FXZmvQB5+kkohdf8R+H2fLG0YJSGCH0yvQTKGW9jDBBvl6dFQzz3uV+DKXqGIVtNw5cQOMPxe7EuVJmTAgj2fACsZjjOFnARM X-MS-Office365-Filtering-Correlation-Id: 15ab0376-d032-4306-25bb-08d5b49ee846 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2018 04:48:13.2224 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15ab0376-d032-4306-25bb-08d5b49ee846 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=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0336 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Akshu Agrawal Marking snd_soc_ops instances const Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda Reviewed-by: Daniel Kurtz --- sound/soc/amd/acp-da7219-max98357a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index fa5ad5b..133139d 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream) da7219_clk_disable(); } -static struct snd_soc_ops cz_da7219_cap_ops = { +static const struct snd_soc_ops cz_da7219_cap_ops = { .startup = cz_da7219_startup, .shutdown = cz_da7219_shutdown, }; -static struct snd_soc_ops cz_max_play_ops = { +static const struct snd_soc_ops cz_max_play_ops = { .startup = cz_max_startup, .shutdown = cz_max_shutdown, }; -static struct snd_soc_ops cz_dmic_cap_ops = { +static const struct snd_soc_ops cz_dmic_cap_ops = { .startup = cz_dmic_startup, .shutdown = cz_dmic_shutdown, }; -- 2.7.4