From patchwork Sun Jun 28 03:41:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 6685891 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 36A01C05AC for ; Sun, 28 Jun 2015 03:41:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7257C205EC for ; Sun, 28 Jun 2015 03:41:52 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 39F5D205E2 for ; Sun, 28 Jun 2015 03:41:51 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9D51B264F03; Sun, 28 Jun 2015 05:41:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id EBED82605EE; Sun, 28 Jun 2015 05:41:46 +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 D2273264E9F; Sun, 28 Jun 2015 05:41:44 +0200 (CEST) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by alsa0.perex.cz (Postfix) with ESMTP id E71112605F4 for ; Sun, 28 Jun 2015 05:41:24 +0200 (CEST) Received: by pdbci14 with SMTP id ci14so96824070pdb.2 for ; Sat, 27 Jun 2015 20:41:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=wGajn17BbtmUmW/C1LKaZMrsUx1574OpX0VketH5AFk=; b=HoPpUNHZSyk4RqR8V67aV5JaAkezAjK7FKe/c/Uo9FGVHzV6TuPYIQ2cB2DKHza2JY b+onoKupGcu6jBztYM5QbhhBJLt9p3zIpFUi5uyVpsb36nOWPOOad90/X/aiSOd/Cc6D 0zPDfUp/4NeOyaxLnLf8Qh82S0R445VzAzibBClwF23whrnnVbwCOTc3MqJyqXfHRRl4 XnkBY0fLHY/+n9gbsO9asJD6rI+3sIG/5IaOGavWRkZyKj7VXo8F28t92loIdxxv6Cn4 EMkTyxP8Ds8ONV4LSSCjPS5310pqFsicdPV9Ulg34rc5oBS8xSxYSGQix3VrmlTS2sqX BCuA== X-Gm-Message-State: ALoCoQndvFUtd86SLtXlsz/8rN47X2hZOXSfd4pjXwGq0attAj47SQKGc2k3uIGiQLlq8jh3Niwx X-Received: by 10.66.142.199 with SMTP id ry7mr18723622pab.14.1435462883908; Sat, 27 Jun 2015 20:41:23 -0700 (PDT) Received: from phoenix.local (36-239-204-144.dynamic-ip.hinet.net. [36.239.204.144]) by mx.google.com with ESMTPSA id d5sm37896196pdl.85.2015.06.27.20.41.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 20:41:22 -0700 (PDT) Message-ID: <1435462879.15772.5.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Sun, 28 Jun 2015 11:41:19 +0800 In-Reply-To: <1435462822.15772.4.camel@ingics.com> References: <1435462822.15772.4.camel@ingics.com> X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: Oder Chiou , Bard Liao , alsa-devel@alsa-project.org, Liam Girdwood Subject: [alsa-devel] [PATCH 2/2] ASoC: rt5645: Constify dmi_system_id table 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP dmi_check_system() takes "const struct dmi_system_id *", so make the dmi_system_id table const. Signed-off-by: Axel Lin --- sound/soc/codecs/rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 9ce311e..297d3f6 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3221,7 +3221,7 @@ static int strago_quirk_cb(const struct dmi_system_id *id) return 1; } -static struct dmi_system_id dmi_platform_intel_braswell[] = { +static const struct dmi_system_id dmi_platform_intel_braswell[] = { { .ident = "Intel Strago", .callback = strago_quirk_cb,