From patchwork Tue Sep 19 13:47:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 112989 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4942633qgf; Tue, 19 Sep 2017 06:52:04 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDCET4/J8Glkm5MqimiMYYDTzRG/H8Fk3u7Nh1PlOaIKlZpScCYBRz+7a08MgWS4EwSuZot X-Received: by 10.223.130.116 with SMTP id 107mr1604466wrb.240.1505829124278; Tue, 19 Sep 2017 06:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505829124; cv=none; d=google.com; s=arc-20160816; b=KYJt7EfszydxQM55arS+KqmSem0dj3o7HiOwQuXSgpkDj3mxTWuHFCzkIjq7+nEs+p n6rHH06UUrbVcTmn4KjdHZPAAAbwd2IMy38vs5DJPHHGVArJ5cL/ISqIcDA5lw9DMFRJ ycmm6yCNFLI2EpqRGDhK+37Ae0LeWddk59z32+3Zn33sqX3F3w06xkiv83HlLbVdPhdf NaE4f2QFIC5MmIGtpQuTGvaq9dorUJVtlon3AVtNMFx5KuJ8q4uUb4SggS83VG1liGRm y82QvlyYNQ8Dxyulo8tE7O9J/jTYOfJ3iOipYLew57VgHQ35gA6YSx4e4LYEGj3Hmr6G SG5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=1kpg47EeRIKcdnnAd+cXTWhIvPef/B69aQDFe+ToJ6M=; b=OaReQuTfnUDiOdH4oEHYyHhV6pP/oZkRVBtuVNP3X/td6d+yUJOR6lKcYVBa590aGS bvgk37eQY+U0pplo9hl4dTxw1XW7GizX5cznmmLJ8k+41jbePFi81iaWYJmYhMAZChRE Y0oAdBfNwm9ONiUF+TIj+o1hHR4k7iH3wq1j6YaKGNJtypq1njSSiGc0Mul35LeL1aB9 4W4nN8bq1x0Ex6AwTirdXGsIsC28OEvc4hhKVJ5HmrkHXGrhBlZLzsEVZ1RtGGU3pWaP zRKA2EsF/VqhOtcHSUu10KmmAIK2dIwBDuS/VKJPPagP+DI44wT2uDQE0uSSZ4r1RnuH W7ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=KOufyDAN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id x6si5798352wrd.416.2017.09.19.06.52.04; Tue, 19 Sep 2017 06:52:04 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=KOufyDAN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id AFE50267545; Tue, 19 Sep 2017 15:48:41 +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 F13B5267544; Tue, 19 Sep 2017 15:48:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_NEUTRAL autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id D4F10267480 for ; Tue, 19 Sep 2017 15:47:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=1KPCZL9VXmLJw/KJm4F0vAKH4dAZe7LWODoFPKvFUYQ=; b=KOufyDANFa5V EeVSJ4WiIlkZrTnRXzWTrQrl/EJQFaajJszMkpGu7gb/Ko0QK53VE6mtIugbptUVxmwXXwgE3hc/J rbjXY8sQg/IU+Z5smw6X+4vq1s4HqRyBlNjdlARviKsMLWFEctsEbMMuGa3KV1Dui9LqiY11xQY8e 2MdGY=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1duIrx-0001QJ-U8; Tue, 19 Sep 2017 13:47:21 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1duIrx-0008Qe-Gj; Tue, 19 Sep 2017 14:47:21 +0100 From: Mark Brown To: Jean Delvare In-Reply-To: Message-Id: Date: Tue, 19 Sep 2017 14:47:21 +0100 Cc: Oder Chiou , alsa-devel@alsa-project.org, Takashi Iwai , Liam Girdwood , Mark Brown , Bard Liao Subject: [alsa-devel] Applied "ASoC: rt5645: Make a few struct const" to the asoc tree 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 The patch ASoC: rt5645: Make a few struct const has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 72d7a16bb07582f8416bbcdc65fe2a1e63f11294 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 15 Sep 2017 10:27:10 +0200 Subject: [PATCH] ASoC: rt5645: Make a few struct const These dmi_system_id structures and associated platform data are never modified so they can be marked const. Signed-off-by: Jean Delvare Cc: Bard Liao Cc: Oder Chiou Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai -- sound/soc/codecs/rt5645.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Mark Brown --- sound/soc/codecs/rt5645.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index a98647ac497c..4b2dbf0c3409 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3637,14 +3637,14 @@ static const struct dmi_system_id dmi_platform_gpd_win[] = { {} }; -static struct rt5645_platform_data general_platform_data2 = { +static const struct rt5645_platform_data general_platform_data2 = { .dmic1_data_pin = RT5645_DMIC_DATA_IN2N, .dmic2_data_pin = RT5645_DMIC2_DISABLE, .jd_mode = 3, .inv_jd1_1 = true, }; -static struct dmi_system_id dmi_platform_asus_t100ha[] = { +static const struct dmi_system_id dmi_platform_asus_t100ha[] = { { .ident = "ASUS T100HAN", .matches = { @@ -3655,11 +3655,11 @@ static struct dmi_system_id dmi_platform_asus_t100ha[] = { { } }; -static struct rt5645_platform_data minix_z83_4_platform_data = { +static const struct rt5645_platform_data minix_z83_4_platform_data = { .jd_mode = 3, }; -static struct dmi_system_id dmi_platform_minix_z83_4[] = { +static const struct dmi_system_id dmi_platform_minix_z83_4[] = { { .ident = "MINIX Z83-4", .matches = {