From patchwork Fri Jun 28 18:17:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 2800421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3DABDBF4A1 for ; Fri, 28 Jun 2013 18:20:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68436201CB for ; Fri, 28 Jun 2013 18:20:30 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D954201B2 for ; Fri, 28 Jun 2013 18:20:29 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UsdGM-0001he-Hc; Fri, 28 Jun 2013 18:19:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UsdFz-0003Qt-Th; Fri, 28 Jun 2013 18:18:51 +0000 Received: from mail-pb0-f50.google.com ([209.85.160.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UsdFU-0003Ou-Im for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2013 18:18:21 +0000 Received: by mail-pb0-f50.google.com with SMTP id wz7so2534679pbc.23 for ; Fri, 28 Jun 2013 11:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=PLX7+4W5wCZPTao9zi5fC/F3QGz/M6llAAtQv0anQK8=; b=OFLewbG5qTxZHi9mZjbU/MePKbr/40NvMKC5cw+wP8fg8vUSp5kK6uONmiRd5In8+O EC/YtdiwBtAXiahfiyPS/AyQ52FAA4Np2Jaaw/rSPcTQdU+SLfjak6NldpbTHJMl+Bx2 iLsThvwmfyTDy0FcmtIR8cgQ1ItBDWlLEGYKGW0Bxch8zUeMK5VDcdB4apqbo9pM9L+k h4bxmonuPuYm69gG5RVXR3kO9j3TklH3Iwjy9kFaUr/wHIOnMSJ6hCGZj0e1qDbi2zsj qKzMrOc7ocyFaYM/Gho1OW8M4NUSsEHcI6EU9CvlDNwewctU9gTKl6MmAAELIH6z+2Ya minQ== X-Received: by 10.68.221.138 with SMTP id qe10mr975218pbc.103.1372443479058; Fri, 28 Jun 2013 11:17:59 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPSA id mr3sm9198510pbb.27.2013.06.28.11.17.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Jun 2013 11:17:58 -0700 (PDT) From: Kevin Hilman To: Mark Brown , alsa-devel@alsa-project.org Subject: [PATCH 2/2] ASoC: ac97: fixup multi-platform AC'97 module build failure Date: Fri, 28 Jun 2013 11:17:49 -0700 Message-Id: <1372443469-20191-3-git-send-email-khilman@linaro.org> X-Mailer: git-send-email 1.8.3 In-Reply-To: <1372443469-20191-1-git-send-email-khilman@linaro.org> References: <1372443469-20191-1-git-send-email-khilman@linaro.org> X-Gm-Message-State: ALoCoQn3LlFzkEEyjatCuOQpdQBCoAAHTCCfHtQoiPJIARHqWax/UKG4VALqLKq4UjHXRR24Gt8P X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130628_141820_720215_D44B4DB0 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Olof Johansson , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Mark Brown X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP commit b047e1cc (ASoC: ac97: Support multi-platform AC'97) introduced some build failures for modules wanting to access the generic soc_ac97_ops. For example: ERROR: "soc_ac97_ops" [sound/soc/codecs/snd-soc-wm9712.ko] undefined! To fix, export soc_ac97_ops to modules. Cc: Mark Brown Signed-off-by: Kevin Hilman --- sound/soc/soc-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 309e5c9..0ec070c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2081,6 +2081,7 @@ int snd_soc_new_ac97_codec(struct snd_soc_codec *codec, EXPORT_SYMBOL_GPL(snd_soc_new_ac97_codec); struct snd_ac97_bus_ops *soc_ac97_ops; +EXPORT_SYMBOL_GPL(soc_ac97_ops); int snd_soc_set_ac97_ops(struct snd_ac97_bus_ops *ops) {