aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/soundbus
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-03-28 07:42:25 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:55:54 -0400
commite3f9678c36dc81fde5dc86848d6d6077659ecaf0 (patch)
treeb28edde630ae55c58c5dc8ca1601e27bfe42d216 /sound/aoa/soundbus
parent6d5fc07aee79327eba5e50a3afa4c1f11b4291d6 (diff)
[ALSA] snd-aoa-i2sbus: use MODULE_DEVICE_TABLE instead of plain MODULE_ALIAS
This patch changes snd-aoa-i2sbus to use MODULE_DEVICE_TABLE instead of a hardcoded MODULE_ALIAS. Thanks to Sylvain Munaut for pointing this out. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/aoa/soundbus')
-rw-r--r--sound/aoa/soundbus/i2sbus/i2sbus-core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/aoa/soundbus/i2sbus/i2sbus-core.c b/sound/aoa/soundbus/i2sbus/i2sbus-core.c
index 0fccdbf5166..efb9441b3ac 100644
--- a/sound/aoa/soundbus/i2sbus/i2sbus-core.c
+++ b/sound/aoa/soundbus/i2sbus/i2sbus-core.c
@@ -23,9 +23,6 @@
23MODULE_LICENSE("GPL"); 23MODULE_LICENSE("GPL");
24MODULE_AUTHOR("Johannes Berg <johannes@sipsolutions.net>"); 24MODULE_AUTHOR("Johannes Berg <johannes@sipsolutions.net>");
25MODULE_DESCRIPTION("Apple Soundbus: I2S support"); 25MODULE_DESCRIPTION("Apple Soundbus: I2S support");
26/* for auto-loading, declare that we handle this weird
27 * string that macio puts into the relevant device */
28MODULE_ALIAS("of:Ni2sTi2sC");
29 26
30static int force; 27static int force;
31module_param(force, int, 0444); 28module_param(force, int, 0444);
@@ -37,6 +34,8 @@ static struct of_device_id i2sbus_match[] = {
37 { } 34 { }
38}; 35};
39 36
37MODULE_DEVICE_TABLE(of, i2sbus_match);
38
40static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev, 39static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev,
41 struct dbdma_command_mem *r, 40 struct dbdma_command_mem *r,
42 int numcmds) 41 int numcmds)