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>
This commit is contained in:
Axel Lin
2011-12-23 14:53:32 +08:00
committed by Mark Brown
부모 23bd1ce48f
커밋 4a7042e599
5개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -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,
};