From patchwork Sun Jun 28 03:40:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 6685881 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E4C489F1C1 for ; Sun, 28 Jun 2015 03:40:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27FF020600 for ; Sun, 28 Jun 2015 03:40:48 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E2BDB205E2 for ; Sun, 28 Jun 2015 03:40:46 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 41F25264F0F; Sun, 28 Jun 2015 05:40:45 +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 D1A062605EB; Sun, 28 Jun 2015 05:40:37 +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 BC9F92605EE; Sun, 28 Jun 2015 05:40:35 +0200 (CEST) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by alsa0.perex.cz (Postfix) with ESMTP id 8C5AA2605E1 for ; Sun, 28 Jun 2015 05:40:28 +0200 (CEST) Received: by padev16 with SMTP id ev16so87897260pad.0 for ; Sat, 27 Jun 2015 20:40:27 -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:content-type :mime-version:content-transfer-encoding; bh=Twb3aT+hW1SE7oXV1m3sstS4sRLZqmhBRg40n/abeW4=; b=hnegtPpj3CRIdPJwhgl3d57geXVqENOg+ZHgz2UWBeib21KLp3I/OMvIURqn7G7OdV FKxld8fv1YVlfZxABgzZRh8H/CZK2jGyK5Dvojh7+zgeBw1FvEPf0QBhG9+LQH/uzITj tY3L9JMc8UVMf+QxY1zWKnyzoEiJHIc6W8MLoI5BPBpdw3wXoiSXgylhnG+U6G1LeINH ptzhyXZJZSWx1E9MXpAhdZqliBFZ0tZjfJwqNcVctlqgf5XtQEASu2c3Z3UrJP7ObvPW d5W7q8nmJRVC14voCRJHAubvkJ8ZOl21lbmlMaIkAe94YdeiAqzPaYdqz5ed3vHjT6RM Ujwg== X-Gm-Message-State: ALoCoQnLDU5BRPqUavoIxyfb8qTwypo/njFxflV8FJmXC93B+zAejupuUQwqsrRQTj1BovzOSxij X-Received: by 10.68.182.68 with SMTP id ec4mr18475764pbc.88.1435462827114; Sat, 27 Jun 2015 20:40:27 -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 ot3sm37809599pbb.4.2015.06.27.20.40.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 20:40:26 -0700 (PDT) Message-ID: <1435462822.15772.4.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Sun, 28 Jun 2015 11:40:22 +0800 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 1/2] ASoC: rt286: 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/rt286.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index 5c43e26..382fedb 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -1108,7 +1108,7 @@ static const struct acpi_device_id rt286_acpi_match[] = { }; MODULE_DEVICE_TABLE(acpi, rt286_acpi_match); -static struct dmi_system_id force_combo_jack_table[] = { +static const struct dmi_system_id force_combo_jack_table[] = { { .ident = "Intel Wilson Beach", .matches = { @@ -1118,7 +1118,7 @@ static struct dmi_system_id force_combo_jack_table[] = { { } }; -static struct dmi_system_id dmi_dell_dino[] = { +static const struct dmi_system_id dmi_dell_dino[] = { { .ident = "Dell Dino", .matches = {