ASoC: jz4740: 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>
This commit is contained in:
Axel Lin 2011-12-23 14:48:19 +08:00 committed by Mark Brown
parent 6aff8ccb0c
commit 1d9d25b352

View file

@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = {
static struct snd_soc_card qi_lb60 = {
.name = "QI LB60",
.owner = THIS_MODULE,
.dai_link = &qi_lb60_dai,
.num_links = 1,