alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE
@ 2011-03-04  7:18 Axel Lin
  2011-03-04  7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Axel Lin @ 2011-03-04  7:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Ujfalusi, Liam Girdwood, Mark Brown, alsa-devel

The device table is required to load modules based on modaliases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/codecs/tlv320dac33.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index 71d7be8..00b6d87 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -1615,6 +1615,7 @@ static const struct i2c_device_id tlv320dac33_i2c_id[] = {
 	},
 	{ },
 };
+MODULE_DEVICE_TABLE(i2c, tlv320dac33_i2c_id);
 
 static struct i2c_driver tlv320dac33_i2c_driver = {
 	.driver = {
-- 
1.7.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-07 11:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04  7:18 [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Axel Lin
2011-03-04  7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
2011-03-04  7:32   ` Alexander Sverdlin
2011-03-07 10:49     ` Liam Girdwood
2011-03-04 12:41   ` Tabi Timur-B04825
2011-03-04 13:49 ` [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Peter Ujfalusi
2011-03-07 10:48   ` Liam Girdwood
2011-03-07 11:46 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).