diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-08-21 20:59:21 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-21 09:07:19 -0700 |
commit | 54d8697fa5036df0e27f8d62edb7ebc35c3f73d6 (patch) | |
tree | 380b4f70036de9f46f81e0e8377f5d7bcea1de55 /sound/soc/intel/boards/cht_bsw_rt5645.c | |
parent | ebb75c0bdba238013976b53e256f8d13216304e4 (diff) | |
download | linux-54d8697fa5036df0e27f8d62edb7ebc35c3f73d6.tar.bz2 |
ASoC: Set missing card owner field
Set the card owner field to prevent the module from being removed from
underneath its users.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/cht_bsw_rt5645.c')
-rw-r--r-- | sound/soc/intel/boards/cht_bsw_rt5645.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/cht_bsw_rt5645.c b/sound/soc/intel/boards/cht_bsw_rt5645.c index bdcaf467842a..7be8461e4d3b 100644 --- a/sound/soc/intel/boards/cht_bsw_rt5645.c +++ b/sound/soc/intel/boards/cht_bsw_rt5645.c @@ -305,6 +305,7 @@ static struct snd_soc_dai_link cht_dailink[] = { /* SoC card */ static struct snd_soc_card snd_soc_card_chtrt5645 = { .name = "chtrt5645", + .owner = THIS_MODULE, .dai_link = cht_dailink, .num_links = ARRAY_SIZE(cht_dailink), .dapm_widgets = cht_dapm_widgets, @@ -317,6 +318,7 @@ static struct snd_soc_card snd_soc_card_chtrt5645 = { static struct snd_soc_card snd_soc_card_chtrt5650 = { .name = "chtrt5650", + .owner = THIS_MODULE, .dai_link = cht_dailink, .num_links = ARRAY_SIZE(cht_dailink), .dapm_widgets = cht_dapm_widgets, |