Skip to content

Commit e3f9678

Browse files
jmbergJaroslav Kysela
authored andcommitted
[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]>
1 parent 6d5fc07 commit e3f9678

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sound/aoa/soundbus/i2sbus/i2sbus-core.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
MODULE_LICENSE("GPL");
2424
MODULE_AUTHOR("Johannes Berg <[email protected]>");
2525
MODULE_DESCRIPTION("Apple Soundbus: I2S support");
26-
/* for auto-loading, declare that we handle this weird
27-
* string that macio puts into the relevant device */
28-
MODULE_ALIAS("of:Ni2sTi2sC");
2926

3027
static int force;
3128
module_param(force, int, 0444);
@@ -37,6 +34,8 @@ static struct of_device_id i2sbus_match[] = {
3734
{ }
3835
};
3936

37+
MODULE_DEVICE_TABLE(of, i2sbus_match);
38+
4039
static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev,
4140
struct dbdma_command_mem *r,
4241
int numcmds)

0 commit comments

Comments
 (0)