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


Groups > linux.kernel > #1218152

[PATCH 03/12] ASoC: wm8510: 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 03/12] ASoC: wm8510: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:00:02 +0200
Message-ID <q4Apk-1lp-15@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=gLGnm0Jhzge6CECuF3QyWeFr3rbb9gRjOOyEEp3Jm9I=; b=eWs1cacBm5ndHA/sATkYpuhEXm/fmO2OaLicN+Gc82aBlLROy20j3xrl/gBmtY5wT4 z2R9GmYqi82EzMdemH8m45Hwsfi/o7Q/B/jNMS6WCxgznHFiE8hfgcGaLwOPLeyLHIqi JNnGgEyOc2Njm+NBh7gND/kRCSidxHoF6HuDjsm5f8Sa1DC3G5Zj/WLrCZBcn+P8ICof CLo29GaYlBNmRSS4uoqvgK+zYrQUp9x2T0MPZ9Zk7VERrGRguYrkQVdOFtjRWUmJS9Fq ID4XDQ5m28DXYLs+8USgfqsKDGA+d8F8FjWjNqXtzUMdUbdesWy/+Lz+NnFuDa44/emA GHhQ==
X-Received by 10.194.121.131 with SMTP id lk3mr47819009wjb.77.1441277790599; Thu, 03 Sep 2015 03:56:30 -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>, Lars-Peter Clausen <lars@metafoo.de>, Charles Keepax <ckeepax@opensource.wolfsonmicro.com>, patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Thu, 3 Sep 2015 12:56:29 +0200
X-Original-Message-ID <20150903105629.GA16812@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218152

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

diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c
index dac5beb..0617415 100644
--- a/sound/soc/codecs/wm8510.c
+++ b/sound/soc/codecs/wm8510.c
@@ -598,6 +598,7 @@ static const struct of_device_id wm8510_of_match[] = {
 	{ .compatible = "wlf,wm8510" },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, wm8510_of_match);
 
 static const struct regmap_config wm8510_regmap = {
 	.reg_bits = 7,
-- 
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 03/12] ASoC: wm8510: Fix module autoload for OF platform  driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:00 +0200

csiph-web