From patchwork Thu Sep 3 10:57:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7115931 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7AAE99F1CD for ; Thu, 3 Sep 2015 11:00:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABD9120382 for ; Thu, 3 Sep 2015 11:00:44 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C9B1720816 for ; Thu, 3 Sep 2015 11:00:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id D50682606A8; Thu, 3 Sep 2015 13:00:31 +0200 (CEST) Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 69FE5265837; Thu, 3 Sep 2015 12:58:47 +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 44D6E265867; Thu, 3 Sep 2015 12:58:45 +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_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by alsa0.perex.cz (Postfix) with ESMTP id 6E9E92606B2 for ; Thu, 3 Sep 2015 12:57:48 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so15623543wic.1 for ; Thu, 03 Sep 2015 03:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=IegtvPyPuCsfkkutGSCYgrANqIhyA6Nykao59u7XUs4=; b=WA7/47p+bnOoeTyTANvbmFSUzMdXDo4cFWz4XJKYn55aopNlo/j3lQfEHuEHvO9B/q WvYuhjlMYGtXf+O9kxvfynpxXEdVCEhIUuWGJfcrLUEKOqCX8DjMNWpRsRHQyadCHw7g mOF50DEMNIp8XLz6ugui8CpUOT7zQTMwb4Gk+SJeSK/aAhTe2AIV5raQdMXuuwhne0uL 8iO6at9zJsUR1nUPlFkM4aPc/wGJsxkbOeLYa4YU0oBA0sLd971cEuq3Pk0+zGkpH04J 1wPJjlT4LLE+xKo3ZYg8TuZ6BVamREF6lOjx8UcAhRMMrqVhDg5v1gzCPos48zKpT6Jb 3kbA== X-Received: by 10.181.25.234 with SMTP id it10mr13215213wid.41.1441277868251; Thu, 03 Sep 2015 03:57:48 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id gv1sm8394398wib.15.2015.09.03.03.57.47 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Sep 2015 03:57:47 -0700 (PDT) Date: Thu, 3 Sep 2015 12:57:47 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Message-ID: <20150903105747.GA16881@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: alsa-devel@alsa-project.org, Timur Tabi , Xiubo Li , Takashi Iwai , Liam Girdwood , Nicolin Chen , Javier Martinez Canillas , Mark Brown , linuxppc-dev@lists.ozlabs.org Subject: [alsa-devel] [PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF platform driver 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/fsl/fsl-asoc-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index de43887..ca8b469 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -580,6 +580,7 @@ static const struct of_device_id fsl_asoc_card_dt_ids[] = { { .compatible = "fsl,imx-audio-wm8962", }, {} }; +MODULE_DEVICE_TABLE(of, fsl_asoc_card_dt_ids); static struct platform_driver fsl_asoc_card_driver = { .probe = fsl_asoc_card_probe,