From patchwork Thu Jan 23 10:53:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23613 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0E148218BD for ; Thu, 23 Jan 2014 10:57:58 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rq2sf3908345pbb.1 for ; Thu, 23 Jan 2014 02:57:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=i3A0oesnmav54OZiT57DS1cbyWEqF5CivIwBQrnfWcw=; b=QtAYNIv8c6cqwmExVwCAHe2Lu4Ixoy1xcBPlPfrEZoqM1UCPpK2ujJC3pwa2zFJxDz P70gbreh1cZhSSfD6t7x7cBEoz0/XnSWBzlg7n6OpViy4MbYfODwKTAZv81xoMAZN3S3 dprlKSLl6uSHOC2HRR/Z0CoZJLDNzmtQkjNUqnNk60yYgofiEx1AWle5+Dp3P86oKdO5 cvVGxNlDcb/L51YXLCt8nPqgBbBhy+6OCcTCk1VsMykXcRQchRuHeru5dXjNy6FKPegp gOM16SbNsz13vfs811sw5Capr/IpqChx+36ohLRscu/9OyfP3YCm0tmn8uyVw6+1Vg71 1g9w== X-Gm-Message-State: ALoCoQmdp6b37d6EgQpj2VAEPQ7UFQN5i4HFXLHbtf6fm6dfNRywGOBtwQTX2Wl+m0S6vxTM25nV X-Received: by 10.68.223.202 with SMTP id qw10mr2784181pbc.6.1390474678266; Thu, 23 Jan 2014 02:57:58 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.48.165 with SMTP id m5ls275372qen.52.gmail; Thu, 23 Jan 2014 02:57:58 -0800 (PST) X-Received: by 10.221.55.8 with SMTP id vw8mr4206688vcb.8.1390474678122; Thu, 23 Jan 2014 02:57:58 -0800 (PST) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id dj3si6455227vcb.119.2014.01.23.02.57.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:57:58 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id id10so948672vcb.41 for ; Thu, 23 Jan 2014 02:57:58 -0800 (PST) X-Received: by 10.58.50.71 with SMTP id a7mr4066897veo.32.1390474678052; Thu, 23 Jan 2014 02:57:58 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp17317vcz; Thu, 23 Jan 2014 02:57:56 -0800 (PST) X-Received: by 10.66.249.134 with SMTP id yu6mr7177513pac.37.1390474675835; Thu, 23 Jan 2014 02:57:55 -0800 (PST) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx.google.com with ESMTPS id m8si13631684pbq.359.2014.01.23.02.57.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:57:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.54; Received: by mail-pa0-f54.google.com with SMTP id fa1so1709687pad.13 for ; Thu, 23 Jan 2014 02:57:55 -0800 (PST) X-Received: by 10.68.201.163 with SMTP id kb3mr7297050pbc.168.1390474675425; Thu, 23 Jan 2014 02:57:55 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id si6sm60604220pab.19.2014.01.23.02.57.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:57:54 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: lgirdwood@gmail.com, broonie@kernel.org, sachin.kamat@linaro.org, patches@opensource.wolfsonmicro.com, patches@linaro.org Subject: [PATCH 2/2] ASoC: wm5100: Export wm5100_detect Date: Thu, 23 Jan 2014 16:23:26 +0530 Message-Id: <1390474406-5790-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Export the symbol so that it is accessible to modules. Fixes the following error: ERROR: "wm5100_detect" [sound/soc/samsung/snd-soc-lowland.ko] undefined! Signed-off-by: Sachin Kamat --- sound/soc/codecs/wm5100.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index 4cf91deabc02..4e3e31aaf509 100644 --- a/sound/soc/codecs/wm5100.c +++ b/sound/soc/codecs/wm5100.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -2141,6 +2142,7 @@ int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) return 0; } +EXPORT_SYMBOL_GPL(wm5100_detect); static irqreturn_t wm5100_irq(int irq, void *data) {