From patchwork Wed Oct 7 12:22:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 7344761 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 29829BEEA4 for ; Wed, 7 Oct 2015 12:22:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5FF5B205CB for ; Wed, 7 Oct 2015 12:22:50 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 30F542072E for ; Wed, 7 Oct 2015 12:22:49 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 20B7D266085; Wed, 7 Oct 2015 14:22:47 +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=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id A41A0265E1A; Wed, 7 Oct 2015 14:22:36 +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 0736F265EAB; Wed, 7 Oct 2015 14:22:35 +0200 (CEST) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by alsa0.perex.cz (Postfix) with ESMTP id 68614265E1A for ; Wed, 7 Oct 2015 14:22:22 +0200 (CEST) Received: by pablk4 with SMTP id lk4so20357672pab.3 for ; Wed, 07 Oct 2015 05:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=o8oTt5bmUSF83TBXjBXN3S9WvU1qulcUCOqQRNZWOnk=; b=zv5jkkVFhPYzR8YQDd2th7qU1sDC89Lew86aNqRz2E+RSuSomCVaNhIo1r5bQjvT69 M6r30CwJ2TS3umpu5iVBSGg6hfc4uUaUfGsUcR8yhzDwEYa9bK0DodNNE+dUB0HiiMtt JJi4Y9P54O7kxpUFS7Hpc2n4+uGkJcPvRd9r1XvFf0f5R3WA73OUvxCzRoFQJ5dz0IcC DkJg/1d0Yko5BIFqvpvaPoYPlyPH9uNFpkLCkWpy9eWWRh7s6+gYdnlNdM1tQZv3YCb5 3y2mbNg/JMMwWoEffWql8HEXj5ECbSiLc+1VhCY/UJQkxu6/jFLpGhgaJrMBBPbf0ctN wfog== X-Received: by 10.68.137.161 with SMTP id qj1mr927838pbb.14.1444220540852; Wed, 07 Oct 2015 05:22:20 -0700 (PDT) Received: from localhost.localdomain ([49.206.251.3]) by smtp.gmail.com with ESMTPSA id kp4sm18591586pbc.34.2015.10.07.05.22.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Oct 2015 05:22:20 -0700 (PDT) From: Sudip Mukherjee To: Bard Liao , Oder Chiou , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Wed, 7 Oct 2015 17:52:12 +0530 Message-Id: <1444220532-14199-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: rt5645: fix build warning 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 We were getting build warning about "Section mismatch". dmi_platform_intel_broadwell is being referenced from the probe function rt5645_i2c_probe(), but dmi_platform_intel_broadwell was marked with __initdata. Signed-off-by: Sudip Mukherjee Reviewed-by: Jarkko Nikula --- 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 4c4fe6b..89ba4ff 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3244,7 +3244,7 @@ static int buddy_quirk_cb(const struct dmi_system_id *id) return 1; } -static struct dmi_system_id dmi_platform_intel_broadwell[] __initdata = { +static struct dmi_system_id dmi_platform_intel_broadwell[] = { { .ident = "Chrome Buddy", .callback = buddy_quirk_cb,