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


Groups > linux.kernel > #1218151

[PATCH 07/12] ASoC: fsl_sai: 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 07/12] ASoC: fsl_sai: Fix module autoload for OF platform driver
Date Thu, 03 Sep 2015 13:00:02 +0200
Message-ID <q4Apk-1lp-13@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=P8p7lwOZYZ4VvNPhvmWi/Da4vyXDCFSuWhr2aiqM+gc=; b=qmifJAk0qqkcczAr7OHbQkjL17R5gTn55wi8Xru7BkxaigAh3SrUe/4oquTEEQLRNC bamjUWFQdVmX4ElKTZ+Emj3zmq2p3THbrGPe2w4D6gInNIjoTslOQ03eyB7r/b4/FlIp 5l/zR/g4y0H81F18sklsZuG/Bm0tEOHdYzleMV2E1iLGHK8U0U6OmZEG5hiwh1+NdjfL jCAVtzxdghdXbH6J++P0kSycCapPO52mOdwwOeQWnNYN6HH/uFiJrum3PsrhaUykQLqX zPkOqixVS08ob9dhgyhTMMuwXlPpwzEa50AARhI/guvSYERU2YRJyaAboQ5g/3CKWeh1 Q+0g==
X-Received by 10.180.21.137 with SMTP id v9mr13004918wie.8.1441277905016; Thu, 03 Sep 2015 03:58:25 -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:23 +0200
X-Original-Message-ID <20150903105823.GA16890@goodgumbo.baconseed.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1218151

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

diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 5c73bea..ec14427 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -801,6 +801,7 @@ static const struct of_device_id fsl_sai_ids[] = {
 	{ .compatible = "fsl,imx6sx-sai", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, fsl_sai_ids);
 
 static struct platform_driver fsl_sai_driver = {
 	.probe = fsl_sai_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 07/12] ASoC: fsl_sai: Fix module autoload for OF platform  driver Luis de Bethencourt <luis@debethencourt.com> - 2015-09-03 13:00 +0200

csiph-web