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


Groups > linux.kernel > #1218148

[PATCH 01/12] ASoC: atmel_wm8904: 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 01/12] ASoC: atmel_wm8904: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:00:01 +0200
Message-ID <q4Apj-1lp-7@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=A+BxTdm1zUO2clNlqZqyM7bmqaqDSWEXeLu+zn901o8=; b=qCKwXZZl4xPc8h2qTe762xPbJSvBjRRSJi+7ZNtXo+TdLBaHFbJJDHvlZUoh+z1BCR 3V5BHupO26Qz6l4EUqjohkVzJUU7asJ2iy81d+CMjPG7w/lamgX678FLFTN9acyhwuIp WCn84Xhzeonu1XyiqhShPMD8t81JeD3IdIA0g+mUFWvHhVUUVrN71MvflZK2NWsFilVU EngBhKNgZng4/uiX1mFb1U0HZ0WfDXvwsPevkka7ic5scO4ajHe65nN8BFfi0Uo2NX3H T1auR0GbS4aeihc0sZsUlF8Brb1y9IZO+TE3BUR2N/7KU93G1WeMxN/k4yunYlCtEo5u /KhA==
X-Received by 10.194.95.71 with SMTP id di7mr51456666wjb.125.1441277709589; Thu, 03 Sep 2015 03:55:09 -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 Nicolas Ferre <nicolas.ferre@atmel.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, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Thu, 3 Sep 2015 12:55:08 +0200
X-Original-Message-ID <20150903105508.GA16710@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218148

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

diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c
index aa354e1..1933bcd 100644
--- a/sound/soc/atmel/atmel_wm8904.c
+++ b/sound/soc/atmel/atmel_wm8904.c
@@ -176,6 +176,7 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = {
 	{ .compatible = "atmel,asoc-wm8904", },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, atmel_asoc_wm8904_dt_ids);
 #endif
 
 static struct platform_driver atmel_asoc_wm8904_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 01/12] ASoC: atmel_wm8904: Fix module autoload for OF  platform driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:00 +0200

csiph-web