Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1218149

[PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF platform driver

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Luis de Bethencourt <luis@debethencourt.com>
Newsgroups linux.kernel
Subject [PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:00:02 +0200
Message-ID <q4Apk-1lp-9@gated-at.bofh.it> (permalink)
X-Original-To linux-kernel@vger.kernel.org
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)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
X-Original-Cc Timur Tabi <timur@tabi.org>, Nicolin Chen <nicoleotsuka@gmail.com>, Xiubo Li <Xiubo.Lee@gmail.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Thu, 3 Sep 2015 12:57:47 +0200
X-Original-Message-ID <20150903105747.GA16881@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218149

Show key headers only | View raw


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 <luis@debethencourt.com>
---
 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,
-- 
2.4.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF  platform driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:00 +0200

csiph-web