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


Groups > linux.kernel > #1218164

[PATCH 11/12] ASoC: mop500: 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 11/12] ASoC: mop500: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:10:02 +0200
Message-ID <q4Az0-1LU-21@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=3iLMi0HRHh5C/7AbkSYp5U9e+acE9fncsgxsXhjZA0Y=; b=SmrgSftmN4rZRkjc1DA93TWohJ2eZ8QB74IVQboQEbTNgw6Q9mfwN1Z+ux8H1bQbwD zj6LzqYlyuSqfQJYY3Xf6DIYUKwHoJ4hju+rybxuY+TfnaOlLTJILEu1Rd89FikTvxur RajGjn1bfPGORi93uxaM3CCmex/vEVW8YeSarxY8ALwDVsguBFK7/Sdyv7BTxdd1zQ5a aIMwSTX8q0nn5aU8rsOezzsngHFyfQsN5tC7HW5o71Y9RQXcEX8WLClgIqSx9fFcTwvo smJak+piVncFrH3P6yH85O85UxhZwka1U/F4uB58LA8IIJnE30M8ryc4/zHl4A3O4k31 b+5A==
X-Received by 10.194.202.137 with SMTP id ki9mr15778251wjc.16.1441278041211; Thu, 03 Sep 2015 04:00:41 -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 Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Markus Elfring <elfring@users.sourceforge.net>, Wolfram Sang <wsa@the-dreams.de>, Jean-Francois Moine <moinejf@free.fr>, alsa-devel@alsa-project.org, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Thu, 3 Sep 2015 13:00:40 +0200
X-Original-Message-ID <20150903110040.GA17060@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218164

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/ux500/mop500.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index 4e0c0e5..ba9fc09 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/soc/ux500/mop500.c
@@ -152,6 +152,7 @@ static const struct of_device_id snd_soc_mop500_match[] = {
 	{ .compatible = "stericsson,snd-soc-mop500", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, snd_soc_mop500_match);
 
 static struct platform_driver snd_soc_mop500_driver = {
 	.driver = {
-- 
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 11/12] ASoC: mop500: Fix module autoload for OF platform  driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:10 +0200

csiph-web