Skip to content

Commit

Permalink
[ALSA] snd-aoa-i2sbus: use MODULE_DEVICE_TABLE instead of plain MODUL…
Browse files Browse the repository at this point in the history
…E_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]>
  • Loading branch information
jmberg authored and Jaroslav Kysela committed May 11, 2007
1 parent 6d5fc07 commit e3f9678
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sound/aoa/soundbus/i2sbus/i2sbus-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
Expand Down

0 comments on commit e3f9678

Please sign in to comment.