From patchwork Tue Aug 2 05:48:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 9255185 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BBD0860754 for ; Tue, 2 Aug 2016 05:49:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3B8B284FF for ; Tue, 2 Aug 2016 05:49:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97C3128504; Tue, 2 Aug 2016 05:49:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F369284FF for ; Tue, 2 Aug 2016 05:49:26 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 29FFF266162; Tue, 2 Aug 2016 07:49:24 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 05F88265AA7; Tue, 2 Aug 2016 07:49:16 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6EB16265AA7; Tue, 2 Aug 2016 07:49:14 +0200 (CEST) Received: from mail-pa0-f66.google.com (mail-pa0-f66.google.com [209.85.220.66]) by alsa0.perex.cz (Postfix) with ESMTP id 950A02658B3 for ; Tue, 2 Aug 2016 07:49:08 +0200 (CEST) Received: by mail-pa0-f66.google.com with SMTP id cf3so11206550pad.2 for ; Mon, 01 Aug 2016 22:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingics-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=h5qB1qjyC2J1ewU9x7RgsgNZ+zLFfevOpwR4m5kjpsc=; b=RyGIKHsI8h8eneqZUmsmfyeWkzMKasmkgR03hgsDG9DvlxPai66SmCGMZHVK7x6HqC wKkWnysDLOKLqSmKOt9vH1b16Y8aXVKOPJWLf/7hHoh7mt0YhXRUXhbMTG4uObP5oVCa leV3baT8lJtAaXE3jCFo5nfl7oHXJ8QwPSpaDV4IqzZvLJ5rNOqyZbCFy3bB7ig0mcye LuRKBM14uTvuAkzuQheyVcVLaELv9B5bJGTPO4t3DgjSl+a/pHsA1WmZpo1vlIjeV6VN 68HqVN3WF+MFkCOw+uZ6zZmhxdwp1SYTmqo/39isZgA3eUD+oggXS8aia/dyTyGVtbAE iCcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=h5qB1qjyC2J1ewU9x7RgsgNZ+zLFfevOpwR4m5kjpsc=; b=bmRtOva0OWIcRMXK68EqV1QJLUxPSjoE75wuo/ck8Kxb8qntOpOwYd+CfXXl1pTKGB HYLKuYssCfzj5QLMWcD7qpRM8Q8kgH+jDLBk/yGDyzKDVNwrQzQBobTBamKPcK4tc14h 3v5qv3Jnn5jHF8rs8bvM8rGVNMxbQwbCJNy1SAvbkF2Rq6HV5C0bYlPNKLlDPEWyLrx9 7TwCnuIJVc9bWMmKW3aOTx0k4vlf2MNMT0tKnk22hz+cWPA0qBitJ3LvzEhIMgkYLqME f4+kJTShEElJj+JXcCfRSJC7EUQR3TABHclYOMcNd7sGSjTvi2TP9+wscCm3YoOt4YOe 32xw== X-Gm-Message-State: AEkoouveKg7v96bMc2eZO8uplMi9o8KAyftCGEX/EPvuxWyVuVpss/l7CDbn3MUAXkSI4w== X-Received: by 10.66.193.65 with SMTP id hm1mr104448457pac.12.1470116946988; Mon, 01 Aug 2016 22:49:06 -0700 (PDT) Received: from localhost.localdomain (118-171-143-154.dynamic.hinet.net. [118.171.143.154]) by smtp.gmail.com with ESMTPSA id c82sm1317731pfb.72.2016.08.01.22.49.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Aug 2016 22:49:05 -0700 (PDT) From: Axel Lin To: Mark Brown Date: Tue, 2 Aug 2016 13:48:30 +0800 Message-Id: <1470116911-7592-1-git-send-email-axel.lin@ingics.com> X-Mailer: git-send-email 2.7.4 Cc: Brian Austin , Axel Lin , alsa-devel@alsa-project.org, Paul Handrigan , Liam Girdwood , Nicolin Chen Subject: [alsa-devel] [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Axel Lin Acked-by: Brian Austin --- sound/soc/codecs/cs42l73.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 42a8fd4..8524e22 100644 --- a/sound/soc/codecs/cs42l73.c +++ b/sound/soc/codecs/cs42l73.c @@ -794,7 +794,7 @@ struct cs42l73_mclk_div { u8 mmcc; }; -static struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = { +static const struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = { /* MCLK, Sample Rate, xMMCC[5:0] */ {5644800, 11025, 0x30}, {5644800, 22050, 0x20}, @@ -844,7 +844,7 @@ struct cs42l73_mclkx_div { u8 mclkdiv; }; -static struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = { +static const struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = { {5644800, 1, 0}, /* 5644800 */ {6000000, 1, 0}, /* 6000000 */ {6144000, 1, 0}, /* 6144000 */