From patchwork Tue Apr 29 09:23:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29322 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 87221202DD for ; Tue, 29 Apr 2014 09:24:25 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf7472677ykp.9 for ; Tue, 29 Apr 2014 02:24:25 -0700 (PDT) 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:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=hfOR8JpvCKfRSL3eQIPhjkm/7oCXJdSqxUkbTTJWeKo=; b=XDk5/0n3Xz0Ud20QxyHPECeDzZwmt3fHfqY7nwBnvhffhGkpGQn7Aix3n2X/0OxWRS BWsxcrbO+0ssMKGYVD1rtI/smVg1NlERfQQgEl81WYWLL/6I9hNeN1PuPR45xDjsVKBq i0m6gD3qiD6D9Aa+K6P7oZRBHEGPHzJDNsSKyoe0K+lb08FHlqTz0ydZzLpDLbhlynVU +PML0q0nUt7MpLCUVD2a5r8l6absrOMGFpKh2Ydav1eQlmB2+sjofNO058jPVvEp2y9+ za4OMZ2ZgKWhEwkYQYE/TblvgYOe8cb1aEItOEH9Qi0YKMErHsYrvH1e21gD0JgMyTt2 uGvQ== X-Gm-Message-State: ALoCoQmXzrRGpZWaRABbt21g3ihpr3ef8tu2btc6EF79AN4rSpxDF/4wVPSVJjjbNTpM/TQcM6KR X-Received: by 10.58.228.201 with SMTP id sk9mr15848653vec.35.1398763465147; Tue, 29 Apr 2014 02:24:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.201 with SMTP id f67ls14275qgd.91.gmail; Tue, 29 Apr 2014 02:24:25 -0700 (PDT) X-Received: by 10.52.0.193 with SMTP id 1mr2952183vdg.0.1398763464994; Tue, 29 Apr 2014 02:24:24 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id kj3si4356526vdb.96.2014.04.29.02.24.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:24 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so9653774veb.12 for ; Tue, 29 Apr 2014 02:24:24 -0700 (PDT) X-Received: by 10.52.65.132 with SMTP id x4mr600848vds.36.1398763464893; Tue, 29 Apr 2014 02:24:24 -0700 (PDT) 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.221.72 with SMTP id ib8csp181822vcb; Tue, 29 Apr 2014 02:24:24 -0700 (PDT) X-Received: by 10.68.249.195 with SMTP id yw3mr14423184pbc.134.1398763463956; Tue, 29 Apr 2014 02:24:23 -0700 (PDT) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id ek4si12269455pbc.296.2014.04.29.02.24.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:23 -0700 (PDT) Received-SPF: none (google.com: kaixu.xia@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id fb1so6179288pad.24 for ; Tue, 29 Apr 2014 02:24:23 -0700 (PDT) X-Received: by 10.66.252.69 with SMTP id zq5mr29803248pac.54.1398763463588; Tue, 29 Apr 2014 02:24:23 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id ek2sm40447807pbd.30.2014.04.29.02.24.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 02:24:23 -0700 (PDT) From: Xia Kaixu To: linaro-kernel@lists.linaro.org, arnd@arndb.de Cc: kaixu.xia@linaro.org, patches@linaro.org Subject: [PATCH v2 05/15] ASoC: nuc900: export nuc900_ac97_data Date: Tue, 29 Apr 2014 17:23:22 +0800 Message-Id: <1398763412-18928-6-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398763412-18928-1-git-send-email-kaixu.xia@linaro.org> References: <1398763412-18928-1-git-send-email-kaixu.xia@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kaixu.xia@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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: , From: Arnd Bergmann The symbol "nuc900_ac97_data" is used by the nuc900_pcm driver, which may be a loadable module, so we should export it. The option SND_SOC_NUC900 enables support for AC97 mode, so select it. Signed-off-by: Arnd Bergmann Signed-off-by: Xia Kaixu Cc: Mark Brown Cc: Liam Girdwood Cc: Wan ZongShun Cc: alsa-devel@alsa-project.org Cc: linux-arm-kernel@lists.infradead.org --- sound/soc/nuc900/Kconfig | 1 + sound/soc/nuc900/nuc900-ac97.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/soc/nuc900/Kconfig b/sound/soc/nuc900/Kconfig index a0ed1c6..7f0c954 100644 --- a/sound/soc/nuc900/Kconfig +++ b/sound/soc/nuc900/Kconfig @@ -4,6 +4,7 @@ config SND_SOC_NUC900 tristate "SoC Audio for NUC900 series" depends on ARCH_W90X900 + select SND_SOC_NUC900_AC97 help This option enables support for AC97 mode on the NUC900 SoC. diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c index 8987bf9..f2f6794 100644 --- a/sound/soc/nuc900/nuc900-ac97.c +++ b/sound/soc/nuc900/nuc900-ac97.c @@ -28,6 +28,7 @@ static DEFINE_MUTEX(ac97_mutex); struct nuc900_audio *nuc900_ac97_data; +EXPORT_SYMBOL_GPL(nuc900_ac97_data); static int nuc900_checkready(void) {