From patchwork Sat Mar 8 09:31:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 3797641 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 29E349F1CD for ; Sat, 8 Mar 2014 09:32:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6643A20357 for ; Sat, 8 Mar 2014 09:32:09 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D80A82034E for ; Sat, 8 Mar 2014 09:32:07 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A02902654CE; Sat, 8 Mar 2014 10:32:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 86E032652C6; Sat, 8 Mar 2014 10:31:58 +0100 (CET) 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 8529D26512A; Sat, 8 Mar 2014 10:31:55 +0100 (CET) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com [209.85.215.42]) by alsa0.perex.cz (Postfix) with ESMTP id 6846426536C for ; Sat, 8 Mar 2014 10:31:45 +0100 (CET) Received: by mail-la0-f42.google.com with SMTP id ec20so3515031lab.1 for ; Sat, 08 Mar 2014 01:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=q7uMS2TOZewoPS78gHzGgHH7l4f0rX2VnhP6a06Vn1A=; b=bofsbo5YHi6a6uzHEu1tTFvSB22J1tEpEDdOOY4mz1L1i7pawOtSTfFb7/XlFpTXoL ojbUbVMpVAcuNBtQIUUxofpO6srLWIsg9MEon4/KDtmFrNWjr9wuxLyvEiMriLww9l+Y 89bv42QlAba00g2VbrcrwyLz81BqSFodK1PtvMQz4I20Lga0Dy7FKnVND+Syjhf0Pdng EKZoa6uHjH9lOCUPC2r2dKABEPeV8cp00hhw6FUWhh86aug01kIrZ9Euzft8NhWsPgE/ Dp31zImxkfZ/COUWaBqys/Sf4gimaJGrn2aEvkq0VAXUcrr+wppHrWVlxzet1Ygx6ZPU yFwg== X-Received: by 10.112.144.35 with SMTP id sj3mr851932lbb.44.1394271104902; Sat, 08 Mar 2014 01:31:44 -0800 (PST) Received: from octofox.metropolis ([188.134.19.124]) by mx.google.com with ESMTPSA id gi5sm13378252lbc.4.2014.03.08.01.31.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Mar 2014 01:31:44 -0800 (PST) From: Max Filippov To: alsa-devel@alsa-project.org Date: Sat, 8 Mar 2014 13:31:06 +0400 Message-Id: <1394271066-25380-1-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.8.1.4 Cc: Lars-Peter Clausen , Liam Girdwood , Takashi Iwai , linux-kernel@vger.kernel.org, Max Filippov , Mark Brown Subject: [alsa-devel] [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs 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 This fixes the following build errors when aic23 is configured as module: >> ERROR: "tlv320aic23_probe" >> [sound/soc/codecs/snd-soc-tlv320aic23-i2c.ko] undefined! >> ERROR: "tlv320aic23_regmap" >> [sound/soc/codecs/snd-soc-tlv320aic23-i2c.ko] undefined! Signed-off-by: Max Filippov --- sound/soc/codecs/tlv320aic23.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index 455250f..a934add 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c @@ -59,6 +59,7 @@ const struct regmap_config tlv320aic23_regmap = { .num_reg_defaults = ARRAY_SIZE(tlv320aic23_reg), .cache_type = REGCACHE_RBTREE, }; +EXPORT_SYMBOL(tlv320aic23_regmap); static const char *rec_src_text[] = { "Line", "Mic" }; static const char *deemph_text[] = {"None", "32Khz", "44.1Khz", "48Khz"}; @@ -634,6 +635,7 @@ int tlv320aic23_probe(struct device *dev, struct regmap *regmap) return snd_soc_register_codec(dev, &soc_codec_dev_tlv320aic23, &tlv320aic23_dai, 1); } +EXPORT_SYMBOL(tlv320aic23_probe); MODULE_DESCRIPTION("ASoC TLV320AIC23 codec driver"); MODULE_AUTHOR("Arun KS ");