diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-14 07:33:36 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:35 -0400 |
commit | 8b45a209935c4b79905182608922736ba0e5579e (patch) | |
tree | d7bb9d5549122d6d8b39305654895fd35e515d05 /sound/soc/soc-core.c | |
parent | 0fc9dec46fae19da9899c580a6b870202103f8bb (diff) |
[ALSA] sound: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable sound
platform drivers, to re-enable auto loading.
[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 9eb5479787c1..e148db940cfc 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -839,6 +839,7 @@ static int soc_remove(struct platform_device *pdev) | |||
839 | static struct platform_driver soc_driver = { | 839 | static struct platform_driver soc_driver = { |
840 | .driver = { | 840 | .driver = { |
841 | .name = "soc-audio", | 841 | .name = "soc-audio", |
842 | .owner = THIS_MODULE, | ||
842 | }, | 843 | }, |
843 | .probe = soc_probe, | 844 | .probe = soc_probe, |
844 | .remove = soc_remove, | 845 | .remove = soc_remove, |
@@ -1601,3 +1602,4 @@ module_exit(snd_soc_exit); | |||
1601 | MODULE_AUTHOR("Liam Girdwood, liam.girdwood@wolfsonmicro.com, www.wolfsonmicro.com"); | 1602 | MODULE_AUTHOR("Liam Girdwood, liam.girdwood@wolfsonmicro.com, www.wolfsonmicro.com"); |
1602 | MODULE_DESCRIPTION("ALSA SoC Core"); | 1603 | MODULE_DESCRIPTION("ALSA SoC Core"); |
1603 | MODULE_LICENSE("GPL"); | 1604 | MODULE_LICENSE("GPL"); |
1605 | MODULE_ALIAS("platform:soc-audio"); | ||