Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e3f9678c36dc81fde5dc86848d6d6077659ecaf0
Commit:     e3f9678c36dc81fde5dc86848d6d6077659ecaf0
Parent:     6d5fc07aee79327eba5e50a3afa4c1f11b4291d6
Author:     Johannes Berg <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 28 13:42:25 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Fri May 11 16:55:54 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/aoa/soundbus/i2sbus/i2sbus-core.c |    5 ++---
 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 0fccdbf..efb9441 100644
--- a/sound/aoa/soundbus/i2sbus/i2sbus-core.c
+++ b/sound/aoa/soundbus/i2sbus/i2sbus-core.c
@@ -23,9 +23,6 @@
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Johannes Berg <[EMAIL PROTECTED]>");
 MODULE_DESCRIPTION("Apple Soundbus: I2S support");
-/* for auto-loading, declare that we handle this weird
- * string that macio puts into the relevant device */
-MODULE_ALIAS("of:Ni2sTi2sC");
 
 static int force;
 module_param(force, int, 0444);
@@ -37,6 +34,8 @@ static struct of_device_id i2sbus_match[] = {
        { }
 };
 
+MODULE_DEVICE_TABLE(of, i2sbus_match);
+
 static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev,
                                       struct dbdma_command_mem *r,
                                       int numcmds)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to