diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 10:53:32 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 15:32:07 +0400 |
commit | 4a7042e59908231fc046aac88bd98454d886052d (patch) | |
tree | 34799035a4288be3c32d4b20328b68cb13ab3d67 /sound/soc/sh/migor.c | |
parent | 23bd1ce48f0b2721f0f37087d8acd9fe57f895d7 (diff) | |
download | linux-4a7042e59908231fc046aac88bd98454d886052d.tar.xz |
ASoC: sh: Add .owner to struct snd_soc_card
Add missing .owner of struct snd_soc_card. This prevents 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>
Diffstat (limited to 'sound/soc/sh/migor.c')
-rw-r--r-- | sound/soc/sh/migor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/migor.c b/sound/soc/sh/migor.c index 6088a6a3238a..9d9ad8d61c0a 100644 --- a/sound/soc/sh/migor.c +++ b/sound/soc/sh/migor.c @@ -164,6 +164,7 @@ static struct snd_soc_dai_link migor_dai = { /* migor audio machine driver */ static struct snd_soc_card snd_soc_migor = { .name = "Migo-R", + .owner = THIS_MODULE, .dai_link = &migor_dai, .num_links = 1, }; |