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


Groups > linux.kernel > #1218154

[PATCH 08/12] ASoC: jz4740: 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 08/12] ASoC: jz4740: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:00:02 +0200
Message-ID <q4Apk-1lp-19@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=6QKOtDtfhnEJVw/oxSR44UieCnR/ZMoYm82woUxvc3k=; b=K9QlEuBerzoCB0MWahoNwAAz9OSifkKOCJ8/d3HvFZ+7WPGRnFDW2lVzQxQUQA82kG FSn1U504/pZsjGIMVGXGy9D6KnWHlQZZmG7PDvY8Hm0/ahDdExcsyHZc4yr3HYMmVVZg CDHXODLS7qj1xDEw6sEIHqMrydwUDkLt3OfKMUGUMjedt/ykIwOMtjE/Wdi5nQR/qjM5 dL1t7NgNup0zQ97nUasaE29Oo/MgKo/wsiy8t4iwdY4/EdZvNTXx1/N4qy4p6prP1jqT ty5UQYR3qMGVoUBWUvyzvk52mQnXldkcN/bI5cXP/SMhRIET305IDKnzqVf6+rlfEJno WVew==
X-Received by 10.194.84.129 with SMTP id z1mr20426387wjy.17.1441277938374; Thu, 03 Sep 2015 03:58:58 -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>, Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>, Wolfram Sang <wsa@the-dreams.de>, alsa-devel@alsa-project.org, Javier Martinez Canillas <javier@osg.samsung.com>
X-Original-Date Thu, 3 Sep 2015 12:58:57 +0200
X-Original-Message-ID <20150903105857.GA16943@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218154

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

diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c
index b05fb1c..794a349 100644
--- a/sound/soc/jz4740/jz4740-i2s.c
+++ b/sound/soc/jz4740/jz4740-i2s.c
@@ -485,6 +485,7 @@ static const struct of_device_id jz4740_of_matches[] = {
 	{ .compatible = "ingenic,jz4780-i2s", .data = (void *)JZ_I2S_JZ4780 },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, jz4740_of_matches);
 #endif
 
 static int jz4740_i2s_dev_probe(struct platform_device *pdev)
-- 
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 08/12] ASoC: jz4740: Fix module autoload for OF platform  driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:00 +0200

csiph-web