ASoC: pxa: Add .owner to struct snd_soc_card

Missed .owner of struct snd_soc_card will prevent the module from being
removed from underneath its users.

Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Axel Lin
2011-12-22 09:44:43 +08:00
committed by Mark Brown
parent 5a5049637c
commit 561c6a172f
17 changed files with 18 additions and 0 deletions

View File

@@ -236,6 +236,7 @@ static struct snd_soc_dai_link tosa_dai[] = {
static struct snd_soc_card tosa = {
.name = "Tosa",
.owner = THIS_MODULE,
.dai_link = tosa_dai,
.num_links = ARRAY_SIZE(tosa_dai),
};